On Thursday, May 26, 2016 at 3:40:58 PM UTC+1, Brian Coca wrote:
>
> You've hit the nail on the head! We do have plans to make a 'inventory 
> cache' part of Ansible itself, currently its up to each script and of 
> course we have different implementations and some that don't implement any.
>

While we don't have a global inventory cache, I'm saving the dynamic inv 
script output to a file, and using it between ansible runs. In order for 
this to work I have a hack which is an executable script that the only 
thing it does it "cat output.json". Is there a better way? Can ansible read 
directly the hosts from the json file or ir there a way to convert this 
json to the format ansible understands?

Thanks,
André

>

-- 
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/0012f394-4040-4d11-88bc-fca42ea5ad64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to