I've looked and looked but I can't find it.

How do I do multiple tests within a single when statement.

For instance
    when: var1 == "X" AND var2 == "Y"

And while I'm at it, how can I do OR statements along with multiple tests, 
such as
    when: (var1 == "X" AND var2 == "Y" ) OR var3 == "Q"

I've tried guessing at a few formats but I'm just not getting it to work.

Thanks!

>>>>Ericw

-- 
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/8c5eacb9-b8dc-46ef-8a3d-da76353d6d01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to