kubespray/roles/dnsmasq/tasks/pre_upgrade.yml

10 lines
235 B
YAML
Raw Normal View History

---
- name: Delete legacy dnsmasq daemonset
kube:
name: dnsmasq
namespace: "{{system_namespace}}"
kubectl: "{{bin_dir}}/kubectl"
resource: "ds"
state: absent
when: inventory_hostname == groups['kube-master'][0]