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