Things are looking pretty nice.
I'm going to reimplement support for the executable inventory file
next and likely the YAML format soon after.
This is important because this means it will be much easier to work on
how hosts/variables/groups are used throughout the app -- and this is
also needed for the what I've talked about -- not using SSH config any
more and keeping that in inventory. More impotantly, it seperates
format and raw datastructures from conceptual matters. (This kind of
cleanup may happen to playbooks some day soon as well, but I think is
less urgent). Once this is all done and we have a more capable INI
file,
I can update the docs on inventory/variables in general and there will
be better examples.
Thankfully we have some very nice tests from Jeroen from last time, so
we'll be assured everything continues to work as expected.
Here's a preview from my branch, totally unsupported of course:
https://github.com/mpdehaan/ansible/tree/devel/lib/ansible
See inventory.py, group.py, host.py, inventory_parser.py, etc.
(Also, it's not quite all well commented yet)