The problem with that is that I have to say sysadmin...

wouldn't it be possible to have something like:

in group_vars/all:

groups: sysadmins

in group_vars/dev:

users: "{{devs|union(all)}}

in group_vars/prod:

users: "{{nsoc|union(all}}"

For example?

The idea is to specify "Merge this with the higher level result" or
"Substitute with this".

On Tue, Sep 23, 2014 at 1:55 PM, Brian Coca <[email protected]> wrote:
> you could always compose by env:
>
> in group_vars/dev:
>
> users: "{{devs|union(sysadmins)}}
>
> in group_vars/prod:
>
> users: "{{sysadmins}}"
>
>
>
> --
> Brian Coca
> Stultorum infinitus est numerus
> 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
> Pedo mellon a minno
>
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "Ansible Project" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/ansible-project/EuLmmfwZmAo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CADn%2BHsyMtDAQqtub7jEo_sJviS4BpMn877%2BYnNTWdgiVb9G1GA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Javier Domingo Cansino

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

Reply via email to