This is an example of the aforementioned External Inventory support. Notes on how it works are listed at
the top of the file. It should make sense for anyone who is familiar with Cobbler, and somewhat less
sense for those who are not – which is why the docs will be explaining in a bit more detail.
SEE HERE:
https://github.com/mpdehaan/ansible/blob/master/examples/scripts/cobbler_external_inventory.py
The enterprising reader can extend this to support LDAP, SQL, NoSQL, or pretty much anything else.
If someone would like to write similar scripts, we can keep them in the source tree in the examples
directory too.
–Michael