diff --git a/tasks/apache/install.yml b/tasks/apache/install.yml index 738b472..77707c7 100644 --- a/tasks/apache/install.yml +++ b/tasks/apache/install.yml @@ -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