Purge /root/.kube/config when migrating to kubeadm (#3566)

This commit is contained in:
Matthew Mosesohn 2018-10-23 15:09:11 +03:00 committed by k8s-ci-robot
parent 06e1f81801
commit 7e84de2ae1

View file

@ -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