i see.. so the only way to solve it is by creating a new group like 
"stage_or_production" and then filter by "app:&stage_or_production"?

my suggestion for implementing logical groups:

hosts:
  - app:&stage
  - app:&production

meaning (app AND stage) OR (app AND production)

On Friday, August 21, 2015 at 5:12:27 PM UTC+2, Brian Coca wrote:
>
> The conditions are not parsed in order (its on my todo list) but 
> globally, so the position of &production does not currently matter and 
> it gets applied after all the 'ANDs'. 
>
>
>
>
> -- 
> 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/c0eeff26-ac84-4c6c-8233-238df634a09d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to