bumped modsec and coreruleset versions

This commit is contained in:
Bastian de Byl
2022-03-22 18:34:53 -04:00
parent 6f9d074241
commit 2a982e13e1
2 changed files with 4 additions and 3 deletions

View File

@@ -30,10 +30,10 @@ modsec_whitelist_local: >-
modsec_git_urls: modsec_git_urls:
- src: "https://github.com/coreruleset/coreruleset.git" - src: "https://github.com/coreruleset/coreruleset.git"
dest: "{{ crs_path }}" dest: "{{ crs_path }}"
ver: "v3.3.0" ver: "v3.3.2"
- src: "https://github.com/SpiderLabs/ModSecurity.git" - src: "https://github.com/SpiderLabs/ModSecurity.git"
dest: "{{ modsec_path }}" dest: "{{ modsec_path }}"
ver: "v3.0.4" ver: "v3.0.6"
modsec_conf_links: modsec_conf_links:
- src: "{{ modsec_path }}/modsecurity.conf-recommended" - src: "{{ modsec_path }}/modsecurity.conf-recommended"

View File

@@ -26,7 +26,8 @@
git: git:
repo: "{{ item.src }}" repo: "{{ item.src }}"
dest: "{{ item.dest }}" dest: "{{ item.dest }}"
update: false update: true
force: true
version: "{{ item.ver }}" version: "{{ item.ver }}"
loop: "{{ modsec_git_urls }}" loop: "{{ modsec_git_urls }}"
notify: restart_nginx notify: restart_nginx