From acae5d4286b4b068d9378af87badf3d2d0a09baa Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Fri, 5 Aug 2016 16:55:04 +0400 Subject: [PATCH] Check dnsmasq on first kube-node kube-masters without kube-node role will not run kube-proxy, and therefore can't check if dnsmasq is running. Fixes #368 --- roles/dnsmasq/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dnsmasq/tasks/main.yml b/roles/dnsmasq/tasks/main.yml index 87a89e293..62fe084af 100644 --- a/roles/dnsmasq/tasks/main.yml +++ b/roles/dnsmasq/tasks/main.yml @@ -55,7 +55,7 @@ host: "{{dns_server}}" port: 53 delay: 5 - when: inventory_hostname == groups['kube-master'][0] + when: inventory_hostname == groups['kube-node'][0] - name: check resolvconf