mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-23 22:16:05 -03:30
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
@@ -172,8 +172,8 @@
|
||||
with_items:
|
||||
- "{{ kube_config_dir }}"
|
||||
- /var/lib/kubelet
|
||||
- /root/.kube
|
||||
- /root/.helm
|
||||
- "{{ ansible_env.HOME | default('/root') }}/.kube"
|
||||
- "{{ ansible_env.HOME | default('/root') }}/.helm"
|
||||
- "{{ etcd_data_dir }}"
|
||||
- /var/lib/etcd-events
|
||||
- /etc/ssl/etcd
|
||||
|
||||
Reference in New Issue
Block a user