1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/3-base-server/tasks/main.yml

35 lines
899 B
YAML
Raw Normal View History

2017-10-27 02:22:59 +00:00
# Base Server
2017-10-30 20:32:31 +00:00
- name: ...IS BEGINNING =====================================
2017-10-27 02:22:59 +00:00
command: echo
2017-10-27 17:32:07 +00:00
- name: MYSQL
include_role:
name: mysql
2020-01-13 16:47:03 +00:00
when: mysql_install | bool
2019-11-20 08:32:05 +00:00
# 2020-05-16: Invoked as nec by 5 roles {cups, elgg, lokole, moodle, nodered}.
# These 9 roles conditionally touch Apache .conf files etc: awstats, calibre-
# web, kalite, kiwix, nextcloud, sugarizer, usb_lib, wordpress, www_options.
# CAUTION: mysql/tasks/install.yml's php install drags in apache2 regardless !
#
# - name: HTTPD (Apache)
# include_role:
# name: httpd
# when: apache_install | bool
2020-01-24 09:25:49 +00:00
- name: NGINX
2020-02-12 08:08:16 +00:00
include_role:
name: nginx
when: nginx_install | bool
- name: WWW_BASE (WWW_OPTIONS should be installed later)
include_role:
name: www_base
2017-05-27 18:09:50 +00:00
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'