Skip to content
Snippets Groups Projects
Commit 203ddfcd authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Merge pull request #1023 from mattymo/fix_dnsmasq_cleanup

Clean up dnsmasq purge task
parents 9667ac3b b5be335d
No related branches found
No related tags found
No related merge requests found
...@@ -62,12 +62,8 @@ ...@@ -62,12 +62,8 @@
name: dnsmasq name: dnsmasq
namespace: "{{system_namespace}}" namespace: "{{system_namespace}}"
kubectl: "{{bin_dir}}/kubectl" kubectl: "{{bin_dir}}/kubectl"
resource: "{{item.item.type}}"
filename: "{{kube_config_dir}}/{{item.item.file}}"
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/weave-net.yml"
resource: "ds" resource: "ds"
namespace: "{{system_namespace}}" filename: "{{kube_config_dir}}/{{item.item.file}}"
state: absent state: absent
with_items: "{{ manifests.results }}" with_items: "{{ manifests.results }}"
when: inventory_hostname == groups['kube-master'][0] and item.item.type == "ds" and (manifests.changed or dnsmasq_config.changed) when: inventory_hostname == groups['kube-master'][0] and item.item.type == "ds" and (manifests.changed or dnsmasq_config.changed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment