Thanks Brian! That YAML multiline notation worked out wonderfully for this. Thanks for educating me!
On Tuesday, November 22, 2016 at 9:13:24 AM UTC-6, Brian Coca wrote: > > 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 list 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ba0a4f8c-3b73-4f89-91fc-c9132ecbfa3d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.