Clean up dnsmasq purge task
This commit is contained in:
parent
2f0f0006e3
commit
b5be335db3
1 changed files with 2 additions and 6 deletions
|
@ -62,12 +62,8 @@
|
|||
name: dnsmasq
|
||||
namespace: "{{system_namespace}}"
|
||||
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"
|
||||
namespace: "{{system_namespace}}"
|
||||
filename: "{{kube_config_dir}}/{{item.item.file}}"
|
||||
state: absent
|
||||
with_items: "{{ manifests.results }}"
|
||||
when: inventory_hostname == groups['kube-master'][0] and item.item.type == "ds" and (manifests.changed or dnsmasq_config.changed)
|
||||
|
|
Loading…
Reference in a new issue