mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
35 lines
814 B
YAML
35 lines
814 B
YAML
# Base Server
|
|
|
|
- name: ...IS BEGINNING =====================================
|
|
command: echo
|
|
|
|
- name: MYSQL
|
|
include_role:
|
|
name: mysql
|
|
when: mysql_install | bool
|
|
|
|
- name: WWW_BACK_END (WWW_FRONT_END should be installed later)
|
|
include_role:
|
|
name: www_back_end
|
|
# when: www_back_end | bool
|
|
# when: apache_install or nginx_install
|
|
|
|
- name: HTTPD (Apache)
|
|
include_role:
|
|
name: httpd
|
|
when: apache_install | bool
|
|
|
|
- name: NGINX
|
|
include_role:
|
|
name: nginx
|
|
when: nginx_install | bool
|
|
|
|
- name: dnsmasq (install now, configure LATER in 'network', after Stage 9)
|
|
include_tasks: roles/network/tasks/dnsmasq.yml
|
|
when: dnsmasq_install | bool
|
|
|
|
- name: Recording STAGE 3 HAS COMPLETED =====================
|
|
lineinfile:
|
|
path: "{{ iiab_env_file }}"
|
|
regexp: '^STAGE=*'
|
|
line: 'STAGE=3'
|