From 7c2b12ebd7d72c42d067dd282eaa5268c9616ff6 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Mon, 18 Sep 2017 16:29:12 +0100 Subject: [PATCH] Insert a newline in bastion after ProxyCommand conditional --- roles/bastion-ssh-config/templates/ssh-bastion.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/bastion-ssh-config/templates/ssh-bastion.conf b/roles/bastion-ssh-config/templates/ssh-bastion.conf index a6a5bc592..d2a914e59 100644 --- a/roles/bastion-ssh-config/templates/ssh-bastion.conf +++ b/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 %}