Hi Alex / everyone,

Another finding:

* This also works fine:
wait_for: host={{ item.public_dns_name }} port=22 delay=60 timeout=320 state
=started

I want to understand why 

wait_for: host={{ item.public_dns_name }} port=22

does not work when I query for a particular region? Does it return before 
port 22 is actually open or before machine is actually SSH connect-able?

Just FYI, I am using a custom AMI built on top of Official CentOS 7 AMI (If 
this helps or if it is an OS specific issue).

Thanks,
Nirav

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fcd522fa-45fe-4d2a-9f39-aa872a8f17cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to