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

17 lines
507 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_data }}
group={{ apache_data }}
state=directory
- name: Install admin home page into apache2
2017-06-02 18:52:32 +00:00
template: src=xsce-home-page.conf
2017-06-02 17:55:02 +00:00
dest=/etc/{{ apache_config_dir }}/xsce-home-page.conf
- name: Enable the home page
file: src=/etc/{{ apache_config_dir }}/xsce-home-page.conf
dest=/etc/apache2/sites-enabled/xsce-home-page.conf
state=link
when: is_debuntu