Purge /root/.kube/config when migrating to kubeadm (#3566)
This commit is contained in:
parent
06e1f81801
commit
7e84de2ae1
1 changed files with 5 additions and 0 deletions
|
@ -10,3 +10,8 @@
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
with_items: "{{ files_to_purge_for_kubeadm.files }}"
|
with_items: "{{ files_to_purge_for_kubeadm.files }}"
|
||||||
|
|
||||||
|
- name: kubeadm | Purge old kubeconfig
|
||||||
|
file:
|
||||||
|
path: /root/.kube/config
|
||||||
|
state: absent
|
||||||
|
|
Loading…
Reference in a new issue