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
2020-02-07 01:22:12 -06:00

31 lines
766 B
YAML

# Base Server
- name: ...IS BEGINNING =====================================
command: echo
- name: HTTPD
include_role:
name: httpd
- name: MYSQL
include_role:
name: mysql
when: mysql_install | bool
- name: Install APACHE (configured LATER, in Stage 9)
include_tasks: roles/httpd/tasks/install.yml
when: apache_install | bool
- name: Install NGINX (configured LATER, in Stage 9)
include_tasks: roles/nginx/tasks/install.yml
when: nginx_install | bool
- name: Install dnsmasq (configured LATER, in network)
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'