Reorder code
This commit is contained in:
parent
0b5f3b5604
commit
930218f1ab
|
@ -27,13 +27,6 @@
|
|||
group: root
|
||||
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
|
||||
file:
|
||||
state: absent
|
||||
|
@ -57,6 +50,13 @@
|
|||
group: root
|
||||
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
|
||||
file:
|
||||
state: absent
|
||||
|
|
Loading…
Reference in New Issue