# AWX unable to find directories and using Copy module

**URL:** <https://forum.ansible.com/t/awx-unable-to-find-directories-and-using-copy-module/33711>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 1, 2020, 11:03am UTC](https://forum.ansible.com/t/awx-unable-to-find-directories-and-using-copy-module/33711 "2020-09-01T11:03:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miqdad\_patwa](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@miqdad\_patwa](https://forum.ansible.com/u/miqdad_patwa)\
**Post date:** [September 1, 2020, 11:03am UTC](https://forum.ansible.com/t/awx-unable-to-find-directories-and-using-copy-module/33711/1 "2020-09-01T11:03:25Z")

</div>

Hello,

I created a job template in AWX and i used this playbook in Jenkins and normal CLI on Putty.

But when i run this job on AWX it is unable to find the directory inside the playbook which actually exist on server with same devops permission as the user devops.

I tested successfully on Jenkins and CLI and its able to run with devops user but AWX is giving me strange error.

**_ERROR while executing a task :_**

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote\_src option

8  
fatal: [**server name**]: FAILED! =\> {“changed”: false, “msg”: “Could not find or access ‘/home/devops/ansible/packages/sysprof.sh’ on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote\_src option”}

9  
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote\_src option

10  
fatal: [s **erver name**]: FAILED! =\> {“changed”: false, “msg”: “Could not find or access ‘/home/devops/ansible/packages/sysprof.sh’ on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote\_src option”}

Actually using copy module .

/home/devops/ansible/packages/sysprof.sh this path exists and no issues as such.

Any other way we need to do that in AWX?

Anyone have any idea for the same

---

<div class="post-metadata">

**Author:** ![Ankit2](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Post date:** [September 1, 2020, 3:25pm UTC](https://forum.ansible.com/t/awx-unable-to-find-directories-and-using-copy-module/33711/2 "2020-09-01T15:25:37Z")

</div>

can you share the playbook? How is AWX installed - Docker?
