mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
b774a4ea8b
commit
203d8b5392
1 changed files with 11 additions and 7 deletions
|
@ -51,11 +51,12 @@
|
|||
- download
|
||||
when: is_redhat
|
||||
|
||||
- name: Remove the default apache2 config file (debuntu)
|
||||
file:
|
||||
path: /etc/apache2/sites-enabled/000-default.conf
|
||||
state: absent
|
||||
when: is_debuntu
|
||||
# MOVED DOWN ~58 LINES
|
||||
#- name: Remove the default apache2 config file (debuntu)
|
||||
# file:
|
||||
# path: /etc/apache2/sites-enabled/000-default.conf
|
||||
# state: absent
|
||||
# when: is_debuntu
|
||||
|
||||
- name: Create httpd config files
|
||||
template:
|
||||
|
@ -108,10 +109,13 @@
|
|||
- 010-iiab.conf
|
||||
when: is_debuntu
|
||||
|
||||
- name: Remove the default apache2 config file (debuntu)
|
||||
- name: Remove apache2 default config files (debuntu)
|
||||
file:
|
||||
dest: /etc/apache2/000-default.conf
|
||||
path: {{ item }}
|
||||
state: absent
|
||||
with_items:
|
||||
- /etc/apache2/000-default.conf
|
||||
- /etc/apache2/sites-enabled/000-default.conf
|
||||
when: is_debuntu
|
||||
|
||||
- name: Create http pid dir /var/run/{{ apache_user }}
|
||||
|
|
Loading…
Add table
Reference in a new issue