diff --git a/doc/HOWTOS.md b/doc/HOWTOS.md index 29e1fe91996c7596f1842cc2303d74a7d9a616ae..bf11caed9e0616763299771295559792d00543b5 100644 --- a/doc/HOWTOS.md +++ b/doc/HOWTOS.md @@ -33,7 +33,7 @@ Update configuration files in docker containers using Ansible `ansible-playbook -i inventories soctools.yml -t update-thehive-config` `ansible-playbook -i inventories soctools.yml -t update-cortex-config` `ansible-playbook -i inventories soctools.yml -t update-cassandra-config` - `ansible-playbook -i inventories soctools.yml -t update-haproxy-config` + `ansible-playbook -i inventories soctools.yml -t update-haproxy-config-acl` `ansible-playbook -i inventories soctools.yml -t update-filebeat-config` `ansible-playbook -i inventories soctools.yml -t update-nifi-config` `ansible-playbook -i inventories soctools.yml -t update-odfees-config` diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index 22c71d3f3bfbe7bb248cc9507703fef6289835aa..3004ad4a0fd1cac6942d2a4ba9c5ff30457f6571 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -15,10 +15,10 @@ - include: update-config.yml tags: - update-config - - update-haproxy-config + - update-haproxy-config-acl - include: restart.yml tags: - restart - restart-haproxy - update-config - - update-haproxy-config + - update-haproxy-config-acl diff --git a/soctools.yml b/soctools.yml index 2dd3142cfc95b19f689cea9ef193843e584c128c..4636ad1cde4f44f262b00adbdd3bbc03afb35a4d 100644 --- a/soctools.yml +++ b/soctools.yml @@ -18,7 +18,7 @@ - name: Update soctools cluster configs import_playbook: update-config-soctools.yml - when: "'update-config' in ansible_run_tags or 'update-keycloak-config' in ansible_run_tags or 'update-thehive-config' in ansible_run_tags or 'update-cortex-config' in ansible_run_tags or 'update-haproxy-config' in ansible_run_tags or 'update-cassandra-config' in ansible_run_tags or 'update-filebeat-config' in ansible_run_tags or 'update-misp-config' in ansible_run_tags or 'update-mysql-config' in ansible_run_tags or 'update-nifi-config' in ansible_run_tags or 'update-odfees-config' in ansible_run_tags or 'update-odfekibana-config' in ansible_run_tags" + when: "'update-config' in ansible_run_tags or 'update-keycloak-config' in ansible_run_tags or 'update-thehive-config' in ansible_run_tags or 'update-cortex-config' in ansible_run_tags or 'update-haproxy-config-acl' in ansible_run_tags or 'update-cassandra-config' in ansible_run_tags or 'update-filebeat-config' in ansible_run_tags or 'update-misp-config' in ansible_run_tags or 'update-mysql-config' in ansible_run_tags or 'update-nifi-config' in ansible_run_tags or 'update-odfees-config' in ansible_run_tags or 'update-odfekibana-config' in ansible_run_tags" - name: restart soctools cluster servics import_playbook: restart-soctools.yml