summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns/tasks
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-21 08:01:33 +0000
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-21 10:49:38 +0000
commitb1fe78553ea7d1caf90c1d52e195cd8f2a082008 (patch)
tree0290d759740afc3ac22adf23253b8ecd0a91295c /ansible/roles/dns/tasks
parent929d4391d688128f24b44e1bba7b68843263b03f (diff)
Fixing dnsmasq container not starting bug
Two problems are fixed in this commit. Firstly handler is not triggered so dnsmasq is not started. Secondly dns is not working due to loop in dns settings. Change-Id: If6874c99dcc42ef63da167abe8d1f7cdd8e0fcb1 Issue-ID: OOM-1866 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Diffstat (limited to 'ansible/roles/dns/tasks')
-rw-r--r--ansible/roles/dns/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
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