fc072300ea
We don't need to support upgrades from 2 year old installs, just from the last major version. Also changed most retried tasks to 1s delay instead of longer.
12 lines
321 B
YAML
12 lines
321 B
YAML
---
|
|
- name: Kubernetes Apps | Delete kubeadm CoreDNS
|
|
kube:
|
|
name: "coredns"
|
|
namespace: "kube-system"
|
|
kubectl: "{{ bin_dir }}/kubectl"
|
|
resource: "deploy"
|
|
state: absent
|
|
when:
|
|
- kubeadm_init is defined
|
|
- kubeadm_init.changed|default(false)
|
|
- inventory_hostname == groups['kube-master'][0]
|