Dear fellow Ansiblizers,
I’m working on some ideas related to Ansible Inventory, and am looking on diverse examples of how one structures his inventory.
I have some ideas of myself on how to manage the Inventory, but want to get some reality checks, to avoid thinking too much within my own use cases, and limited view points. This, especially for larger inventories - where you really get to manage cattle and not pets - which might mean 100’s of hosts, and at the very least several dozens of groups. How you define your variables within this structure, and to what extent you go to several layers of child groups are especially important here.
So, if you have anything to share on that matter, and perhaps can share some - anonymized - dump of such an inventory, I would be extremely grateful. You should be able to export a json dataset with with ansible-inventory, introduced in 2.4.
Thanks!
Kind cowsays,
Serge van Ginderachter
@svg on twitter
@srvg on github