I'm not sure whether this is something ansible can do out of the box or not.
I am looking for a way to pause execution of a playbook until certain pieces of metadata become available from AWS.
Basically I'm starting an ec2 instance inside a firewalled VPC in AWS and when it's ready it sets a few tag values.
I'd like to be able to construct tasks that spin up this ec2 instance, wait until it sees those tags are available (or times out), and then continue.
Is this possible using the standard ansible toolkit, or am I (a) going about this all wrong, or (b) going to need to reach for a custom coded module?