Redirecting from -devel as advised.
I don’t think as inventory directories are an existing thing.
That being said, any alternative way of managing inventory you want can be built using an inventory script.
* Michael DeHaan, 2014-11-17 :
I don't think as inventory directories are an existing thing.
Not sure what you mean, as far as I can tell this is supported
by ansible.inventory.dir, and documented under "Using Multiple Inventory
Sources".
That being said, any alternative way of managing inventory you want can be
built using an inventory script.
That's true, but would require reimplementing the parsing of standard
inventoy files in the dynamic inventory script.
Thomas.
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