Improve code

This commit is contained in:
Alex Kotov 2020-02-06 19:59:32 +05:00
parent d701755996
commit 5161bcdfb5
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 2 additions and 2 deletions

View File

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