Browse Source

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.
pull/1818/merge
Jiří Stránský 7 years ago
committed by Matthew Mosesohn
parent
commit
728d56e74d
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/bastion-ssh-config/tasks/main.yml

1
roles/bastion-ssh-config/tasks/main.yml

@ -18,3 +18,4 @@
template:
src: ssh-bastion.conf
dest: "{{ playbook_dir }}/ssh-bastion.conf"
when: has_bastion
Loading…
Cancel
Save