1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/homepage/tasks/main.yml

17 lines
501 B
YAML
Raw Normal View History

2017-06-02 17:55:02 +00:00
- name: Create home directory
file: path={{ doc_root }}/home
mode=0755
owner={{ apache_user }}
group={{ apache_user }}
2017-06-02 17:55:02 +00:00
state=directory
2017-10-27 02:04:54 +00:00
- name: Install admin homepage into apache2
template: src=iiab-homepage.conf
dest=/etc/{{ apache_config_dir }}/iiab-homepage.conf
2017-06-02 17:55:02 +00:00
- name: Enable the home page
2017-10-27 02:04:54 +00:00
file: src=/etc/{{ apache_config_dir }}/iiab-homepage.conf
dest=/etc/apache2/sites-enabled/iiab-homepage.conf
2017-06-02 17:55:02 +00:00
state=link
when: is_debuntu