From 6c8f30cd17cae51e7af64fe9ad2c9f3c1ca149ee Mon Sep 17 00:00:00 2001 From: Valentin Gologuzov Date: Thu, 2 Apr 2015 14:14:00 +0200 Subject: [PATCH] [new cloud] ssh availability: skip fingerprint check --- tasks/persistent_cloud_new.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/persistent_cloud_new.yml b/tasks/persistent_cloud_new.yml index d9fc45aa47..24a59a2914 100644 --- a/tasks/persistent_cloud_new.yml +++ b/tasks/persistent_cloud_new.yml @@ -42,7 +42,7 @@ # We need to specify user, here we trying with fedora or root - name: wait until ssh is available # local_action: shell false; until [ "$?" -eq "0" ]; do sleep 2; ssh -o PasswordAuthentication=no fedora@{{ public_ip }} 'echo foobar' || ssh -o PasswordAuthentication=no root@{{ public_ip }} 'echo foobar'; done - local_action: shell false; until [ "$?" -eq "0" ]; do sleep 2; ssh -vvvv -o PasswordAuthentication=no fedora@{{ public_ip }} 'echo foobar' &> /tmp/ssh_new_cloud.txt; done + local_action: shell false; until [ "$?" -eq "0" ]; do sleep 2; ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PasswordAuthentication=no fedora@{{ public_ip }} 'echo foobar' &> /tmp/ssh_new_cloud.txt; done async: 10 poll: 2 register: ssh_check