Hi Paul,

I think the inverted inventory is a *great idea*.

IIRC clusterssh went from a format that was similiar to the "normal"
ansible inventory to something like this:

node1 group1,group2,group3
node2 group3
node3 group1,group3

I think that this is a more natural way of specifying it rather than the
sectioning of ini files. The group_vars/group1, group_vars/group2, ...
files (or dirs) could be used to specify common attributes, the dynamic
inventory script could read these and output just the right information :)

Of course this create yet another config file format but that is just
because I'm comparing to a tool where I found the inventory management to
be somewhat working. When dealing with manual inventory management (of
course going for larger numbers of servers nothing beats an actuall
automated inventory) :)

/Martin


On Sun, Jul 19, 2015 at 10:08 AM esco real <[email protected]> wrote:

> Hello Paul,
>
> yes, I did likely the same but used a KeePass 2 database instead of an ini
> file as inventory source. So here we have similar thoughts (if you are
> using KeePass 2 you should try my script ;) ). Adding each host to his
> parents is possible. But apart from the scaling problem you would have
> trouble with group_vars for non unique group names in different branches.
> And I guess there are a lot more users which manage their inventory as tree.
>
> esco
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/00d7df2c-3bd6-467f-b9d4-9507cf752a27%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/00d7df2c-3bd6-467f-b9d4-9507cf752a27%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
-- 
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
Mobil: +43 / 660 / 62 45 103
UID: ATU68801424

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK1mKEQD7Nc%3DBed8AYkio37yFK6jO43JSssYnit1tF4OhY7uig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to