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

View file

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