diff options
Diffstat (limited to 'ansible/roles/dns')
-rw-r--r-- | ansible/roles/dns/handlers/main.yml | 2 | ||||
-rw-r--r-- | ansible/roles/dns/tasks/main.yml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/dns/handlers/main.yml b/ansible/roles/dns/handlers/main.yml index 9e957474..cd1e4b47 100644 --- a/ansible/roles/dns/handlers/main.yml +++ b/ansible/roles/dns/handlers/main.yml @@ -3,7 +3,7 @@ docker_container: name: dns-server image: "{{ dns_server_image }}" - command: -H /simulated_hosts --log-facility=- + command: -H /simulated_hosts --log-facility=- --dns-loop-detect capabilities: NET_ADMIN volumes: - "{{ app_data_path }}/cfg/simulated_hosts:/simulated_hosts:ro" diff --git a/ansible/roles/dns/tasks/main.yml b/ansible/roles/dns/tasks/main.yml index 121ee0c4..8a7f8bca 100644 --- a/ansible/roles/dns/tasks/main.yml +++ b/ansible/roles/dns/tasks/main.yml @@ -26,3 +26,6 @@ command: /bin/true notify: Run dns server container when: "'dns-server' not in containers_list.containers" + +- name: Force notified handlers to run at this point + meta: flush_handlers |