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 - download
when: is_redhat when: is_redhat
- name: Remove the default apache2 config file (debuntu) # MOVED DOWN ~58 LINES
file: #- name: Remove the default apache2 config file (debuntu)
path: /etc/apache2/sites-enabled/000-default.conf # file:
state: absent # path: /etc/apache2/sites-enabled/000-default.conf
when: is_debuntu # state: absent
# when: is_debuntu
- name: Create httpd config files - name: Create httpd config files
template: template:
@ -108,10 +109,13 @@
- 010-iiab.conf - 010-iiab.conf
when: is_debuntu when: is_debuntu
- name: Remove the default apache2 config file (debuntu) - name: Remove apache2 default config files (debuntu)
file: file:
dest: /etc/apache2/000-default.conf path: {{ item }}
state: absent state: absent
with_items:
- /etc/apache2/000-default.conf
- /etc/apache2/sites-enabled/000-default.conf
when: is_debuntu when: is_debuntu
- name: Create http pid dir /var/run/{{ apache_user }} - name: Create http pid dir /var/run/{{ apache_user }}