diff --git a/roles/bastion-ssh-config/templates/ssh-bastion.conf b/roles/bastion-ssh-config/templates/ssh-bastion.conf index a6a5bc5929a9afc7f08d5a2b109c65cd6061afce..d2a914e59e22f9d20a44500e732b5180e43b3d54 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 %}