On 18 November 2014 10:57, Thomas Quinot <[email protected]> wrote: > That's true, but would require reimplementing the parsing of standard > inventoy files in the dynamic inventory script. >
Not reinventing, you van just import the ansible.inventory in your script and use it (on your specific paths.) E.g. this example script dumps the whole inventory in a dynamic script compatible json: https://github.com/ginsys/ansible-plugins/blob/devel/bin/ansible-inventory -- 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/CAEhzMJD4fH4Vbf9aeeUL-z6_B8%3DkoU7AkRa5DyUT6ibsETT_tg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
