Ansible shell moudle

Hi There,

I am trying to execute a Predefined shell script on a remote server through Ansible.

While executing the playbook the script with arguments got executed properly and i got the output as well.
When I am checking the process in the remote server there is no process running on it.

The behavior is very strange for the first time i am getting such type of issue.

How to resolve such issue?

try to prepend script path with echo and use ‘register’ option for further inspection. I think you may use some quirks with path/environment variables.