Skip to content
Snippets Groups Projects
Commit 728d56e7 authored by Jiří Stránský's avatar Jiří Stránský Committed by Matthew Mosesohn
Browse files

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.
parent a9f4038f
No related branches found
No related tags found
No related merge requests found
...@@ -18,3 +18,4 @@ ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment