Removing duplicate resource

This commit is contained in:
DarkFeather 2024-01-12 16:17:55 -06:00
parent 15dd844093
commit f9a3bd789b
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296

View File

@ -73,7 +73,7 @@
mode: 0660 mode: 0660
follow: true follow: true
- name: Nginx pidfile - name: Nginx pidfile
become: yes become: yes
ignore_errors: true ignore_errors: true
file: file:
@ -113,25 +113,6 @@
dest: /usr/share/owasp-modsecurity-crs dest: /usr/share/owasp-modsecurity-crs
umask: "0022" 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 - name: Modsecurity config
become: yes become: yes
register: modsecconf register: modsecconf