# Ansible shell moudle

**URL:** <https://forum.ansible.com/t/ansible-shell-moudle/26564>\
**Category:** Ansible Project\
**Created:** [January 25, 2018, 10:13am UTC](https://forum.ansible.com/t/ansible-shell-moudle/26564 "2018-01-25T10:13:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subrat\_Mahapatra](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Subrat\_Mahapatra](https://forum.ansible.com/u/Subrat_Mahapatra)\
**Post date:** [January 25, 2018, 10:13am UTC](https://forum.ansible.com/t/ansible-shell-moudle/26564/1 "2018-01-25T10:13:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![George\_Shuklin](https://avatars.discourse-cdn.com/v4/letter/g/ed8c4c/32.png) [@George\_Shuklin](https://forum.ansible.com/u/George_Shuklin)\
**Post date:** [January 25, 2018, 10:05pm UTC](https://forum.ansible.com/t/ansible-shell-moudle/26564/2 "2018-01-25T22:05:22Z")

</div>

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.
