You said it yourself: "I'm getting a return code of 3". The shell module will set `failed: true` if the script's rc is not 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f06a7c98-0047-4674-b8e1-a8b4415fee41n%40googlegroups.com.