1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/3-base-server/tasks/main.yml
2020-01-13 10:17:02 -05:00

29 lines
669 B
YAML

# Base Server
- name: ...IS BEGINNING =====================================
command: echo
- name: Install NGINX (Configure LATER, in Stage 9)
include_tasks: roles/nginx/tasks/install.yml
when: nginx_install | bool
- name: HTTPD (APACHE)
include_role:
name: httpd
when: apache_install | bool
- name: MYSQL
include_role:
name: mysql
# has no "when: XXXXX_install" flag
- name: Install dnsmasq
include_tasks: roles/network/tasks/dnsmasq.yml
when: dnsmasq_install | bool
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'
state: present