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.

On 01/25/2018 12:13 PM, Subrat Mahapatra wrote:
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?
--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/796bb879-8815-4d10-867e-4f3ec76935ae%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/796bb879-8815-4d10-867e-4f3ec76935ae%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/7b626a14-d515-1879-31c4-d1d59c00ea28%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to