On 23 April 2014 23:27, Matt Martz <[email protected]> wrote:

> I think the problem you will then run into, is that you will have to
> explicitly add all hosts to the 'all' group.
>

​No, the script parsing will d​o that. Right now, every group is added as
child of 'all' (instead of just top level groups)

Using an inventory script is more explicit than an inventory file.  If you
> define 'all' I believe it treats your declaration of that group as the
> definitive truth, and if you leave out the servers, the 'all' group will
> then be empty.
>

So the script will make sure that groups are children of all, so in the
end, all hosts will be part of all (be it directly or indirectly).


So to Seth's original question, yes, that will be working.

-- 
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/CAEhzMJCnaEMY%2BhbpgeugLrxy8RXV7ej%3DhXM3NX2Ve_9CXsN2ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to