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

30 lines
634 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
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
# 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:
name: "{{ apache_service }}"
state: restarted
2017-05-27 18:09:50 +00:00
when: not installing
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
2018-10-15 09:31:13 +00:00
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'
state: present