From bd95633cb7a2e4f8c66b60a5a88fecee6026c01c Mon Sep 17 00:00:00 2001 From: Michal Ptacek Date: Wed, 5 Jun 2019 12:29:58 +0000 Subject: Fixing dns not working for other containers issue If host networking is not used for dns container, dns wont work for other infra containers. This is unintentionally removed in https://gerrit.onap.org/r/#/c/oom/offline-installer/+/87422/ Change-Id: I07ce6874e7baedadbdbbcf0913f1d683e19f93cd Issue-ID: OOM-1866 Signed-off-by: Michal Ptacek --- ansible/roles/dns/handlers/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'ansible/roles') 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 -- cgit 1.2.3-korg