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
2018-10-15 08:40:33 -04:00

29 lines
594 B
YAML

# Base Server
- name: ...IS BEGINNING =====================================
command: echo
- name: HTTPD (APACHE)
include_role:
name: httpd
# has no "when: XXXXX_install" flag
tags: base, httpd
- name: MYSQL
include_role:
name: mysql
# has no "when: XXXXX_install" flag
tags: base, mysql
- name: Restart httpd
service:
name: "{{ apache_service }}"
state: restarted
when: not installing
- name: Recording STAGE 3 HAS COMPLETED =====================
lineinfile:
dest: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=3'
state: present