Browse Source

Insert a newline in bastion after ProxyCommand conditional

pull/1672/head
Simon Li 7 years ago
parent
commit
7c2b12ebd7
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/bastion-ssh-config/templates/ssh-bastion.conf

1
roles/bastion-ssh-config/templates/ssh-bastion.conf

@ -17,5 +17,6 @@ Host {{ bastion_ip }}
Host {{ vars['hosts'] }} Host {{ vars['hosts'] }}
ProxyCommand ssh -W %h:%p {{ real_user }}@{{ bastion_ip }} {% if ansible_ssh_private_key_file is defined %}-i {{ ansible_ssh_private_key_file }}{% endif %} ProxyCommand ssh -W %h:%p {{ real_user }}@{{ bastion_ip }} {% if ansible_ssh_private_key_file is defined %}-i {{ ansible_ssh_private_key_file }}{% endif %}
StrictHostKeyChecking no StrictHostKeyChecking no
{% endif %} {% endif %}
Loading…
Cancel
Save