mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Only write bastion ssh config when needed (#1810)
This will allow running Kubespray when the user who runs it doesn't have write permissions to the Kubespray dir, at least when not using bastion.
This commit is contained in:
committed by
Matthew Mosesohn
parent
a9f4038fcd
commit
728d56e74d
@@ -18,3 +18,4 @@
|
|||||||
template:
|
template:
|
||||||
src: ssh-bastion.conf
|
src: ssh-bastion.conf
|
||||||
dest: "{{ playbook_dir }}/ssh-bastion.conf"
|
dest: "{{ playbook_dir }}/ssh-bastion.conf"
|
||||||
|
when: has_bastion
|
||||||
|
|||||||
Reference in New Issue
Block a user