diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-06-05 12:29:58 +0000 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-06-05 15:22:56 +0000 |
commit | bd95633cb7a2e4f8c66b60a5a88fecee6026c01c (patch) | |
tree | 04ab4733735d0025399bef4512b91db122cd4091 /ansible/roles/dns/handlers | |
parent | da4b64ee9c8b13f5a634d79318e3027f78abc5b1 (diff) |
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 <m.ptacek@partner.samsung.com>
Diffstat (limited to 'ansible/roles/dns/handlers')
-rw-r--r-- | ansible/roles/dns/handlers/main.yml | 1 |
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 |