Hi all
I'm using ec2 module to launch EC2 instances in one play book, and "-i 
ec2.py" to query a subset of the instances in a second playbook.
So far so good.

The problem I have is when I started to call both play books, using 
include, from one "super" playbook.
AFAIU, the inventory did not refresh, so the second one failed.
I can bypass the problem by running both playbooks from a bash script with
./ec2.py --refresh-cache > /dev/null
between them, but it is ugly and cause other problems.

Any Idiomatic alternative?

Thanks
Tzach

-- 
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/d34c1143-ad78-4390-8b6a-911288abeb41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to