mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 08:18:44 -03:30
Merge pull request #645 from adidenko/fix-ansible_ssh_user
Set defaults for ansible_ssh_user
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
download_delegate: "{% if download_localhost %}localhost{% else %}{{groups['kube-master'][0]}}{% endif %}"
|
download_delegate: "{% if download_localhost %}localhost{% else %}{{groups['kube-master'][0]}}{% endif %}"
|
||||||
|
|
||||||
- name: Create dest directory for saved/loaded container images
|
- name: Create dest directory for saved/loaded container images
|
||||||
file: path="{{local_release_dir}}/containers" state=directory recurse=yes mode=0755 owner={{ansible_ssh_user}}
|
file: path="{{local_release_dir}}/containers" state=directory recurse=yes mode=0755 owner={{ansible_ssh_user|default(ansible_user_id)}}
|
||||||
when: "{{ download.enabled|bool and download.container|bool }}"
|
when: "{{ download.enabled|bool and download.container|bool }}"
|
||||||
|
|
||||||
# This is required for the download_localhost delegate to work smooth with CoreOS cluster nodes
|
# This is required for the download_localhost delegate to work smooth with CoreOS cluster nodes
|
||||||
|
|||||||
Reference in New Issue
Block a user