On Wed, Oct 24, 2018 at 1:13 AM Kai Stian Olstad <
[email protected]> wrote:

> [..snip..]


> > I can see how to check that webserver is part of dc1 (webserver,&dc1) but
> > not sure how to build it with multiple "OR" on the "AND" (something like
> > "webserver,&(dc1,dc2,dc3)" is what I'm looking for but it doesn't work)
>
> Put the dc1, dc2 and dc3 group in a group called dc and then you can use
>
>   webserver:&dc


I'd like to be able to do this on the fly so creating a custom group like
that is not ideal.

- Gonz

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

Reply via email to