mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-06 18:17:47 +03:00
Switch /root references to ansible_env.HOME (#4842)
* kube config dir for current/ansible become user * remove extra / * fix default value
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
bbdc6210f5
commit
a8dfcbbfc7
@@ -13,5 +13,5 @@
|
||||
|
||||
- name: kubeadm | Purge old kubeconfig
|
||||
file:
|
||||
path: /root/.kube/config
|
||||
path: "{{ ansible_env.HOME | default('/root') }}/.kube/config"
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user