mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
34 lines
772 B
YAML
34 lines
772 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 Apache systemd service ({{ apache_service }})
|
|
systemd:
|
|
name: "{{ apache_service }}"
|
|
state: restarted
|
|
when: not installing
|
|
|
|
- name: Create a Python interface to iiab.env
|
|
template:
|
|
src: roles/1-prep/templates/iiab_env.py.j2
|
|
dest: /etc/iiab/iiab_env.py
|
|
|
|
- name: Recording STAGE 3 HAS COMPLETED =====================
|
|
lineinfile:
|
|
dest: "{{ iiab_env_file }}"
|
|
regexp: '^STAGE=*'
|
|
line: 'STAGE=3'
|
|
state: present
|