mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update main.yml
This commit is contained in:
parent
b089e8665b
commit
6ab5bf0618
1 changed files with 13 additions and 10 deletions
|
@ -1,16 +1,19 @@
|
||||||
- name: Create home directory
|
- name: Create home directory
|
||||||
file: path={{ doc_root }}/home
|
file:
|
||||||
mode=0755
|
path: "{{ doc_root }}/home"
|
||||||
owner={{ apache_user }}
|
owner: "{{ apache_user }}"
|
||||||
group={{ apache_user }}
|
group: "{{ apache_user }}"
|
||||||
state=directory
|
mode: 0755
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Install admin homepage into apache2
|
- name: Install admin homepage into apache2
|
||||||
template: src=iiab-homepage.conf
|
template:
|
||||||
dest=/etc/{{ apache_config_dir }}/iiab-homepage.conf
|
src: iiab-homepage.conf
|
||||||
|
dest: "/etc/{{ apache_config_dir }}/iiab-homepage.conf"
|
||||||
|
|
||||||
- name: Enable the home page
|
- name: Enable the home page
|
||||||
file: src=/etc/{{ apache_config_dir }}/iiab-homepage.conf
|
file:
|
||||||
dest=/etc/apache2/sites-enabled/iiab-homepage.conf
|
src: "/etc/{{ apache_config_dir }}/iiab-homepage.conf"
|
||||||
state=link
|
dest: /etc/apache2/sites-enabled/iiab-homepage.conf
|
||||||
|
state: link
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
Loading…
Reference in a new issue