# Ansible AWX Script execution fails

**URL:** <https://forum.ansible.com/t/ansible-awx-script-execution-fails/38437>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [September 14, 2023, 3:52am UTC](https://forum.ansible.com/t/ansible-awx-script-execution-fails/38437 "2023-09-14T03:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suresht369](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@suresht369](https://forum.ansible.com/u/suresht369)\
**Post date:** [September 14, 2023, 3:52am UTC](https://forum.ansible.com/t/ansible-awx-script-execution-fails/38437/1 "2023-09-14T03:52:28Z")

</div>

Hi All,

Am using AWX on a single node kubernetes where in i need to execute a script via playbook, playbook & script on GIT , in the playbook am using playbook\_dir magic variable

magic variable playbook\_dir fetches the playbook dir but while executing the playbook i get error file not found

fatal: [x.x.x.x]: FAILED! =\> {“changed”: false, “msg”: “Source /runner/project/osqueryinstall.sh not found”}

can anyone help me out.

---

<div class="post-metadata">

**Author:** ![golakiyaalice](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/golakiyaalice/32/1046_2.png) [@golakiyaalice](https://forum.ansible.com/u/golakiyaalice)\
**Post date:** [September 19, 2023, 5:15am UTC](https://forum.ansible.com/t/ansible-awx-script-execution-fails/38437/2 "2023-09-19T05:15:58Z")

</div>

Please add a relative path .

Thanks  
Alice
