summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/dns/handlers/main.yml')
-rw-r--r--ansible/roles/dns/handlers/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/dns/handlers/main.yml b/ansible/roles/dns/handlers/main.yml
index cd1e4b47..3d7570f5 100644
--- a/ansible/roles/dns/handlers/main.yml
+++ b/ansible/roles/dns/handlers/main.yml
@@ -2,6 +2,7 @@
- name: Run dns server container
docker_container:
name: dns-server
+ network_mode: host
image: "{{ dns_server_image }}"
command: -H /simulated_hosts --log-facility=- --dns-loop-detect
capabilities: NET_ADMIN