mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
19 lines
683 B
YAML
19 lines
683 B
YAML
- name: Create dir {{ doc_root }}/home
|
|
file:
|
|
path: "{{ doc_root }}/home"
|
|
owner: "{{ apache_user }}"
|
|
group: "{{ apache_user }}"
|
|
mode: 0755
|
|
state: directory
|
|
|
|
- name: Install /etc/{{ apache_config_dir }}/iiab-homepage.conf from template, for http://box redirect to http://box/home/
|
|
template:
|
|
src: iiab-homepage.conf
|
|
dest: "/etc/{{ apache_config_dir }}/iiab-homepage.conf"
|
|
|
|
- name: Symlink /etc/apache2/sites-enabled/iiab-homepage.conf to /etc/{{ apache_config_dir }}/iiab-homepage.conf (debuntu)
|
|
file:
|
|
src: "/etc/{{ apache_config_dir }}/iiab-homepage.conf"
|
|
path: /etc/apache2/sites-enabled/iiab-homepage.conf
|
|
state: link
|
|
when: is_debuntu
|