Re: [ansible-project] Can conditional "OR" operator be syntactically indented similar to the "AND" operator?

2016-11-22 Thread burns498
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 >

Re: [ansible-project] Can conditional "OR" operator be syntactically indented similar to the "AND" operator?

2016-11-22 Thread burns498
Hey Brian - That list notation worked out wonderfully. 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 >

Re: [ansible-project] Can conditional "OR" operator be syntactically indented similar to the "AND" operator?

2016-11-22 Thread Brian Coca
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

[ansible-project] Can conditional "OR" operator be syntactically indented similar to the "AND" operator?

2016-11-21 Thread burns498
Hello - Can the conditional "OR" operator be syntactically indented similar to the "AND" operator? "AND" can be written in either of these ways: Source > when: