Not that way but you can use YAML multiline

failed_when: >
   expect_output.stdout | search("(ORA|SP2)-[0-9]+") or
   expect_output.stdout | search("Usage")


​The lis​t notation is just that, a list of conditionals which all must be
true , which ends up being an implicit AND.


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

Reply via email to