Browse Source

Merge pull request #1672 from manics/bastion-proxycommand-newline

Insert a newline in bastion ssh config after ProxyCommand conditional
pull/1702/head
Brad Beam 7 years ago
committed by GitHub
parent
commit
1b9a6d7ad8
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'] }}
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
{% endif %}
Loading…
Cancel
Save