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
|
|
|
|
|
2018-10-15 12:40:33 +00:00
|
|
|
- name: HTTPD (APACHE)
|
2017-10-27 02:22:59 +00:00
|
|
|
include_role:
|
|
|
|
name: httpd
|
2017-10-27 02:44:54 +00:00
|
|
|
# has no "when: XXXXX_install" flag
|
2017-10-27 02:22:59 +00:00
|
|
|
tags: base, httpd
|
|
|
|
|
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
|
2017-10-27 17:32:07 +00:00
|
|
|
tags: base, mysql
|
|
|
|
|
2018-10-31 01:24:32 +00:00
|
|
|
- name: Restart Apache systemd service ({{ apache_service }})
|
|
|
|
systemd:
|
2018-02-13 02:59:59 +00:00
|
|
|
name: "{{ apache_service }}"
|
|
|
|
state: restarted
|
2017-05-27 18:09:50 +00:00
|
|
|
when: not installing
|
|
|
|
|
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
|