Try indenting the commands to the same level (indent scriptpass to the same level as cd). 

On Apr 7, 2023, at 6:45 AM, Asad <asad.hasan2...@gmail.com> wrote:


Hi All ,

I have a issue shell module its not executing :

shell: |
cd /u01/{{APP_NAME}}
scriptpass run {{APP_NAME}} rotate-passwd FORCE_RESET

Multiple shell scrips work is shell module except the above script 
--
Asad Hasan
+91 9582111698

--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/CAG3LsKHgGhrR5KqmB%3DN7u5UDeJPkyq%3DgbMmxdprq-nO7XY0ZAA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/75F8BF59-BDE6-474E-9C42-12A959CFEF80%40gmail.com.

Reply via email to