2017-06-02 17:55:02 +00:00
|
|
|
- name: Create home directory
|
|
|
|
file: path={{ doc_root }}/home
|
|
|
|
mode=0755
|
2017-06-09 23:25:56 +00:00
|
|
|
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
|