Removing duplicate resource
This commit is contained in:
parent
15dd844093
commit
f9a3bd789b
@ -73,7 +73,7 @@
|
||||
mode: 0660
|
||||
follow: true
|
||||
|
||||
- name: Nginx pidfile
|
||||
- name: Nginx pidfile
|
||||
become: yes
|
||||
ignore_errors: true
|
||||
file:
|
||||
@ -113,25 +113,6 @@
|
||||
dest: /usr/share/owasp-modsecurity-crs
|
||||
umask: "0022"
|
||||
|
||||
- name: Config directories
|
||||
become: yes
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: http
|
||||
group: http
|
||||
mode: 0750
|
||||
loop:
|
||||
- /usr/share/webapps/aninix
|
||||
- /etc/nginx/conf
|
||||
- /etc/nginx/conf.d
|
||||
- /etc/modsecurity
|
||||
- /var/log/modsec
|
||||
- /var/log/modsec/tmp
|
||||
- /var/log/modsec/data
|
||||
- /var/log/modsec/audit
|
||||
- /var/log/modsec/uploads
|
||||
|
||||
- name: Modsecurity config
|
||||
become: yes
|
||||
register: modsecconf
|
||||
|
Loading…
Reference in New Issue
Block a user