I was able to fix it with a failed when: var.stderr | count > 0

On Wednesday, February 8, 2023 at 7:50:59 PM UTC-5 Jay Kumar wrote:

> [image: pic (2).png]
> I'm getting a return code of 3, my shell module runs and the output is 
> what im expecting but it still shows up as failed, here is an image of it. 
> I also do not want to use ignore_error for this.
>
> Thank you in advance,
>

-- 
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/51982678-ba8e-45fd-b56c-5374edea482bn%40googlegroups.com.

Reply via email to