I would be happy to maintain the code, we are using ansible as part of
one of our software, and we are interested in this feature. So far we
are using an external, temporary file, but we are not completely
satisfied with this solution, (we are basically using an external file
to copy data from a python class to another) and we would like to use
the implementation I sent or similar approaches.
I also think that without this feature (programmatically create a
complete inventory class with groups), there is no way to effectively
use ansible from external programs, which is something that at least
two people in this mailing list are trying to do.
.a.