Improve code
This commit is contained in:
parent
d701755996
commit
5161bcdfb5
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
- name: Configure Apache ports
|
||||
template:
|
||||
src: templates/apache/ports.conf
|
||||
dest: /etc/apache2/ports.conf
|
||||
dest: '{{ common__apache__conf_dir }}/ports.conf'
|
||||
mode: 'u=rw,g=r,o=r'
|
||||
owner: root
|
||||
group: root
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
- name: Disable directory listing
|
||||
lineinfile:
|
||||
path: /etc/apache2/apache2.conf
|
||||
path: '{{ common__apache__conf_dir }}/apache2.conf'
|
||||
regexp: '^Options Indexes FollowSymLinks$'
|
||||
line: 'Options FollowSymLinks'
|
||||
notify: common | Restart Apache
|
||||
|
|
Loading…
Reference in a new issue