failed_when: - '"300 OK" not in command_result.stderr'
failed_when: - command_result.rc != 0 failed_when: - '"300 OK" not in command_result.stderr' - command_result.rc != 0--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c8528625-14dc-40dc-b3c7-b10c8b617c0e%40googlegroups.com.
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fbc33caa-2428-4cce-a95e-6f53fd509c97%40googlegroups.com.
failed_when: - > "long string with characters that need escaping" over many $%^&* lines - > and another long line - etc - etcfailed_when: >
"foo
bar"
not in x or
"baz
bar"
not in y