# script execution is failed in ansible

**URL:** <https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651>\
**Category:** Ansible Project\
**Created:** [September 26, 2018, 3:27am UTC](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651 "2018-09-26T03:27:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makesh](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Makesh](https://forum.ansible.com/u/Makesh)\
**Post date:** [September 26, 2018, 3:27am UTC](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651/1 "2018-09-26T03:27:59Z")

</div>

Hi Team,

Am automating my TIbco EMS restart service using Ansible. I have tried to execute the shell script from the server where ansible installed and also remote server but the service is not coming up also not getting any error, the same script execution was successful if run shell script in both Remote and Ansible server. Please help.

My Play book.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [September 28, 2018, 8:04pm UTC](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651/2 "2018-09-28T20:04:58Z")

</div>

When the Ansible script task is finished all the child processes will be stopped.  
To avoid that create proper init script to start and stop services.

---

<div class="post-metadata">

**Author:** ![Abdulrazzaq\_shaik](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Post date:** [March 17, 2021, 6:59am UTC](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651/3 "2021-03-17T06:59:41Z")

</div>

Hi Makesh,

Have to done the tibco installation and configuration with Ansible ?
