1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/3-base-server/tasks/main.yml

35 lines
751 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: 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')
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'