ansible_fixes Moved whitelisting to before_crs_rules

This commit is contained in:
Bastian de Byl
2020-10-02 22:41:03 -04:00
parent c89079b810
commit deaea0b14d

View File

@@ -71,7 +71,7 @@
- name: whitelist local ip addresses
become: true
lineinfile:
path: "{{ nginx_path }}/modsecurity.conf"
path: "{{ modsec_crs_before_rule_conf }}"
regexp: "{{ modsec_whitelist_local_re }}"
line: "{{ modsec_whitelist_local }}"
mode: 0644