On Mon, 19 Aug 2019 at 03:03, Karl Auer <[email protected]> wrote:
>
> There's a wait option on ec2 instance creation that will stop the playbook 
> until the instance is up. Not sure what exactly it is testing, but I've seen 
> it there.

The wait option checks if the instance id already exists:

https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/amazon/ec2.py#L1234-L1240

I guess this is "the right thing".


-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMZQcm8HZ5-rZ7g%3DRxjCVNw08kJmOwZn0bxdsyAwB9BwA%40mail.gmail.com.

Reply via email to