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

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.

-- 
Matt Martz
[email protected]

On April 23, 2014 at 4:24:48 PM, Seth Edwards ([email protected]) wrote:

I am creating my own dynamic inventory script. I have some variables that need 
to exist for every group throughout any playbook for this inventory. If I just 
emit and "all" group with a vars dictionary, would that be enough to get this 
working? Thanks


{
    "all"   : {
        "vars"    : {
            "a"   : true,  

        }
    },

.........
--
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/1a8a312d-018f-4206-992e-d03c5fff5d58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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/etPan.53583044.74b0dc51.9c54%40mobiletuvix.rackspace.corp.
For more options, visit https://groups.google.com/d/optout.

Reply via email to