Yep!
- shell: echo hi
when: variable1 == x and variable2 == y
On Thu, Aug 14, 2014 at 1:32 PM, John Oliver <[email protected]> wrote:
> Can I execute an action when variable1=x OR variable2=y?
>
> --
> 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/20c1b604-4ed9-429d-874c-316fe07bc1e3%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/20c1b604-4ed9-429d-874c-316fe07bc1e3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CA%2BnsWgx6qeL68q4LQy8VyeksYg45VW%3DVRusEEmzmi4gUaZDT%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.