diff --git a/ansible/roles/http/defaults/main.yml b/ansible/roles/http/defaults/main.yml index eba3a34..2c3d23c 100644 --- a/ansible/roles/http/defaults/main.yml +++ b/ansible/roles/http/defaults/main.yml @@ -30,10 +30,10 @@ modsec_whitelist_local: >- modsec_git_urls: - src: "https://github.com/coreruleset/coreruleset.git" dest: "{{ crs_path }}" - ver: "v3.3.0" + ver: "v3.3.2" - src: "https://github.com/SpiderLabs/ModSecurity.git" dest: "{{ modsec_path }}" - ver: "v3.0.4" + ver: "v3.0.6" modsec_conf_links: - src: "{{ modsec_path }}/modsecurity.conf-recommended" diff --git a/ansible/roles/http/tasks/modsec.yml b/ansible/roles/http/tasks/modsec.yml index aa62128..af49cde 100644 --- a/ansible/roles/http/tasks/modsec.yml +++ b/ansible/roles/http/tasks/modsec.yml @@ -26,7 +26,8 @@ git: repo: "{{ item.src }}" dest: "{{ item.dest }}" - update: false + update: true + force: true version: "{{ item.ver }}" loop: "{{ modsec_git_urls }}" notify: restart_nginx