1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/3-base-server/tasks/main.yml

38 lines
831 B
YAML
Raw Normal View History

2017-10-27 02:22:59 +00:00
# Base Server
- name: ...IS BEGINNING ==================================
2017-10-27 02:22:59 +00:00
command: echo
- name: HTTPD
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
- name: IIAB-ADMIN
include_role:
name: iiab-admin
2017-10-27 02:44:54 +00:00
# has no "when: XXXXX_install" flag
2017-10-27 02:22:59 +00:00
tags: base, iiab-admin
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
2017-05-31 16:38:14 +00:00
- name: Make sure there is a content directory
2017-05-27 18:09:50 +00:00
file: dest={{ doc_root }}/local_content
state=directory
- name: Restart httpd
service: name={{ apache_service }}
state=restarted
when: not installing
- name: Record STAGE 3 HAS COMPLETED =====================
2017-10-28 17:42:51 +00:00
lineinfile: dest=/etc/iiab/iiab.env
regexp='^STAGE=*'
line='STAGE=3'
state=present
2017-10-27 02:22:59 +00:00