Reorder code

This commit is contained in:
Alex Kotov 2020-07-15 01:55:19 +05:00
parent 0b5f3b5604
commit 930218f1ab
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 7 additions and 7 deletions

View File

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