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

36 lines
814 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
- name: WWW_BACK_END (WWW_FRONT_END should be installed later)
2020-02-12 08:08:16 +00:00
include_role:
name: www_back_end
# when: www_back_end | bool
# when: apache_install or nginx_install
2020-02-12 08:08:16 +00:00
- 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'