mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
35 lines
774 B
YAML
35 lines
774 B
YAML
# Base Server
|
|
|
|
- name: ...IS BEGINNING =====================================
|
|
command: echo
|
|
|
|
- name: MYSQL
|
|
include_role:
|
|
name: mysql
|
|
when: mysql_install | bool
|
|
|
|
- name: WEB_SUPPORT
|
|
include_role:
|
|
name: web_support
|
|
#when: web_support_install | 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'
|