you know if it's a group if it has a name that matches a defined group 
name.  Are you saying it's solely to allow forward references to groups?  
If so, isn't it an attribute of the child name itself that it refers to a 
group, and not "the supergroup can only contain children"?

i.e. any of these make more sense to me than the current definition:

1) expand if a name refers to a known group; otherwise don't expand 
(doesn't handle forwards)
2) make two passes through inventory files to handle forwards (might be 
tricky/undoable with dynamic inventory)
3) tag each groupname within the group:

[groupofgroups]
host1
group1:group

The way it is now, effectively defining every member of the group as a 
group with the unintuitive "children" on the enclosing group, seems the 
least intuitive of all, and unlike every other such tool.

On Wednesday, July 8, 2015 at 10:33:04 AM UTC-7, Brian Coca wrote:
>
> yes, how do you know if it is a group? it might be defined below, or 
> it might be a host. 
>
>
> -- 
> Brian Coca 
>

-- 
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/fbf67d38-9192-4813-bc44-b1617bf52ef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to