On Fri, 6 Mar 2020 04:46:58 -0800 (PST) Rakesh Parida <[email protected]> wrote:
> failed_when: "'200 OK' not in cp_status.stdout_lines"
Try
failed_when: cp_status.stdout_lines|
select('search', '200 OK')|
list|
length == 0
HTH,
-vlado
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/20200306142546.1469fcfc%40gmail.com.
pgpo_Gtp9BOB1.pgp
Description: OpenPGP digital signature
