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
2017-06-02 14:52:32 -04:00

16 lines
507 B
YAML

- 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
template: src=xsce-home-page.conf
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