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
738 B
YAML
Raw Normal View History

2017-10-27 02:22:59 +00:00
# Base Server
2017-10-30 20:32:31 +00:00
- name: ...IS BEGINNING =====================================
2017-10-27 02:22:59 +00:00
command: echo
2017-10-27 17:32:07 +00:00
- name: MYSQL
include_role:
name: mysql
2020-01-13 16:47:03 +00:00
when: mysql_install | bool
2019-11-20 08:32:05 +00:00
2020-02-12 08:08:16 +00:00
- name: WEB_SUPPORT
include_role:
name: web_support
when: apache_install or nginx_install
- name: HTTPD (Apache)
2020-02-12 08:08:16 +00:00
include_role:
name: httpd
2020-01-24 09:25:49 +00:00
when: apache_install | bool
- name: NGINX
2020-02-12 08:08:16 +00:00
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
2017-05-27 18:09:50 +00:00
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'