Hi All,
Is there any way to check the check the message error text returned by
module in msg against some pattern?
I want to skip execution of next task if msg contains "LoadBalancerNotFound"
string.
TASK: [elb | Wait ELB to deassociate from SG]
*********************************
failed: [127.0.0.1] => {"attempts": 0, "failed": true}
msg: LoadBalancerNotFound: Cannot find Load Balancer test
FATAL: all hosts have already failed -- aborting
Thanks,
Regards
--
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/209f9958-e94b-437b-acff-a828171e7c5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.