Reorder code
This commit is contained in:
parent
0b5f3b5604
commit
930218f1ab
1 changed files with 7 additions and 7 deletions
|
@ -27,13 +27,6 @@
|
||||||
group: root
|
group: root
|
||||||
notify: common | Restart Apache
|
notify: common | Restart Apache
|
||||||
|
|
||||||
- name: Disable directory listing
|
|
||||||
lineinfile:
|
|
||||||
path: '{{ common__apache__conf_dir }}/apache2.conf'
|
|
||||||
regexp: '^Options Indexes FollowSymLinks$'
|
|
||||||
line: 'Options FollowSymLinks'
|
|
||||||
notify: common | Restart Apache
|
|
||||||
|
|
||||||
- name: Disable Apache logging
|
- name: Disable Apache logging
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -57,6 +50,13 @@
|
||||||
group: root
|
group: root
|
||||||
notify: common | Restart Apache
|
notify: common | Restart Apache
|
||||||
|
|
||||||
|
- name: Disable directory listing
|
||||||
|
lineinfile:
|
||||||
|
path: '{{ common__apache__conf_dir }}/apache2.conf'
|
||||||
|
regexp: '^Options Indexes FollowSymLinks$'
|
||||||
|
line: 'Options FollowSymLinks'
|
||||||
|
notify: common | Restart Apache
|
||||||
|
|
||||||
- name: Remove Apache default site
|
- name: Remove Apache default site
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
|
|
Loading…
Reference in a new issue