1
0
Fork 0
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:
A Holt 2018-08-21 08:40:01 -04:00 committed by GitHub
parent b774a4ea8b
commit 203d8b5392
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}