# AWX unable to execute a playbook calling a shell script

**URL:** <https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 10, 2019, 11:05am UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447 "2019-10-10T11:05:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Scarlazzari](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Fernando\_Scarlazzari](https://forum.ansible.com/u/Fernando_Scarlazzari)\
**Post date:** [October 10, 2019, 11:05am UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447/1 "2019-10-10T11:05:06Z")

</div>

Hello friends,

I have a simple playbook that calls a shell script:

---

<div class="post-metadata">

**Author:** ![David\_Maple](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@David\_Maple](https://forum.ansible.com/u/David_Maple)\
**Post date:** [October 10, 2019, 4:51pm UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447/2 "2019-10-10T16:51:38Z")

</div>

Does the script exist inside the awx containers filesystem, or just on the host filesystem?

---

<div class="post-metadata">

**Author:** ![Fernando\_Scarlazzari](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Fernando\_Scarlazzari](https://forum.ansible.com/u/Fernando_Scarlazzari)\
**Post date:** [October 10, 2019, 8:40pm UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447/3 "2019-10-10T20:40:28Z")

</div>

It exists only on the host running AWX.

---

<div class="post-metadata">

**Author:** ![David\_Maple](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@David\_Maple](https://forum.ansible.com/u/David_Maple)\
**Post date:** [October 10, 2019, 10:26pm UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447/4 "2019-10-10T22:26:27Z")

</div>

Normal installation of AWX runs in containers. So, you need to make sure that GTA directory is mounted inside the task container so your playbook can reach it. That should get it working for you.

Dave

---

<div class="post-metadata">

**Author:** ![Fernando\_Scarlazzari](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@Fernando\_Scarlazzari](https://forum.ansible.com/u/Fernando_Scarlazzari)\
**Post date:** [October 11, 2019, 12:29pm UTC](https://forum.ansible.com/t/awx-unable-to-execute-a-playbook-calling-a-shell-script/31447/5 "2019-10-11T12:29:06Z")

</div>

Dave/All

Unfortunately I’m not using docker. I have installed this instance without docker for a POC in the company I work.

Since it works from command line, my guess is that AWS is messing something up with the extra vars, or ssh options it adds to the playbook execution, but so far I was unable to pin down the problem.
