mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-07 02:27:43 +03:00
Purge /root/.kube/config when migrating to kubeadm (#3566)
This commit is contained in:
committed by
k8s-ci-robot
parent
06e1f81801
commit
7e84de2ae1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user