Hi, After provisioning a machine on ec2 module, the inventory doesn't reflect the new host (using ec2.py).
I am using a tag_name for the target host that comes from the inventory. I have tried all of the following: - pause of 60 seconds after provisioning. - local_action to refresh the cache, calling ec2.py --refresh-cache - changing the cache_max_age timeout to 0 in ec2.ini The other thing I tried was to use not use the inventory script, but to use add_host with the same group name as my tag name. This seems hacky though and seems also not read the group_vars, which is a problem. If anyone has any ideas, that would be great. Thanks, Steve -- 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/f3fb161f-79f2-4b7f-b110-3e05c43c4f43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
