1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/3-base-server/tasks/main.yml

36 lines
1,016 B
YAML

# Base Server
- name: ...IS BEGINNING =====================================
command: echo
- name: MYSQL
include_role:
name: mysql
#when: mysql_install | bool
# 2020-05-21: Apache role 'httpd' is installed as nec by any of these 7 roles:
#
# cups, elgg, lokole, moodle, nodered, pbx, phpmyadmin
#
# These 14 roles conditionally touch /etc/apache2/sites-available/*.conf files:
#
# awstats, calibre-web, gitea, internetarchive, kalite, kiwix, kolibri,
# mediawiki, munin, nextcloud, sugarizer, usb_lib, wordpress, www_options
#
# SEE ALSO: https://github.com/iiab/iiab/blob/master/roles/nginx/README.md
- name: NGINX
include_role:
name: nginx
#when: nginx_install | bool
- name: WWW_BASE (WWW_OPTIONS should be installed later)
include_role:
name: www_base
#when: www_base_install | bool # Flag might be created in future?
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'