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
|
|
|
|
|
|
|
|
- name: Install admin home page into apache2
|
2017-06-09 23:25:56 +00:00
|
|
|
template: src=iiab-home-page.conf
|
|
|
|
dest=/etc/{{ apache_config_dir }}/iiab-home-page.conf
|
2017-06-02 17:55:02 +00:00
|
|
|
|
|
|
|
- name: Enable the home page
|
2017-06-09 23:25:56 +00:00
|
|
|
file: src=/etc/{{ apache_config_dir }}/iiab-home-page.conf
|
|
|
|
dest=/etc/apache2/sites-enabled/iiab-home-page.conf
|
2017-06-02 17:55:02 +00:00
|
|
|
state=link
|
|
|
|
when: is_debuntu
|