2017-10-27 02:22:59 +00:00
|
|
|
# Base Server
|
2017-11-09 13:23:54 +00:00
|
|
|
|
2017-10-30 20:32:31 +00:00
|
|
|
- name: ...IS BEGINNING =====================================
|
2017-10-27 02:22:59 +00:00
|
|
|
command: echo
|
|
|
|
|
2020-01-13 15:17:02 +00:00
|
|
|
- name: Install NGINX (Configure LATER, in Stage 9)
|
|
|
|
include_tasks: roles/nginx/tasks/install.yml
|
|
|
|
when: nginx_install | bool
|
|
|
|
|
2018-10-15 12:40:33 +00:00
|
|
|
- name: HTTPD (APACHE)
|
2017-10-27 02:22:59 +00:00
|
|
|
include_role:
|
|
|
|
name: httpd
|
2020-01-12 13:41:30 +00:00
|
|
|
when: apache_install | bool
|
2017-10-27 02:22:59 +00:00
|
|
|
|
2017-10-27 17:32:07 +00:00
|
|
|
- name: MYSQL
|
|
|
|
include_role:
|
|
|
|
name: mysql
|
2017-10-28 11:39:26 +00:00
|
|
|
# has no "when: XXXXX_install" flag
|
2019-11-20 08:32:05 +00:00
|
|
|
|
2019-08-24 18:52:25 +00:00
|
|
|
- name: Install dnsmasq
|
|
|
|
include_tasks: roles/network/tasks/dnsmasq.yml
|
2020-01-12 13:41:30 +00:00
|
|
|
when: dnsmasq_install | bool
|
2017-05-27 18:09:50 +00:00
|
|
|
|
2017-11-14 05:00:39 +00:00
|
|
|
- name: Recording STAGE 3 HAS COMPLETED =====================
|
2018-02-13 02:59:59 +00:00
|
|
|
lineinfile:
|
2018-10-15 09:31:13 +00:00
|
|
|
dest: "{{ iiab_env_file }}"
|
2018-02-13 02:59:59 +00:00
|
|
|
regexp: '^STAGE=*'
|
|
|
|
line: 'STAGE=3'
|
|
|
|
state: present
|