No, pretty sure that is correct, here is the output from the operation of
'True and False' in Python:

In [1]: True and False
Out[1]: False

Like I said, they are ANDed not ORed.

If you want to use an or, you are going to have to write it out such as:

failed_when:  true or false



On Wed, Jul 1, 2015 at 1:46 PM, Tom Paine <[email protected]> wrote:

> Simplified, I've tried:
>
> failed_when:
>   - true
>   - false
>
> evals to false. Surely a bug?
>
> This is the post where sequences are said to evaluate as OR
> https://groups.google.com/d/msg/ansible-project/cIaQTmY3ZLE/c5w8rlmdHWIJ
>
> --
> 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/fbc33caa-2428-4cce-a95e-6f53fd509c97%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/fbc33caa-2428-4cce-a95e-6f53fd509c97%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matt Martz
@sivel
sivel.net

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

Reply via email to