# Copy file from src and dest (remote server) fails

**URL:** <https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635>\
**Category:** Ansible Project\
**Tags:** awx-project, ubuntu, awx\
**Created:** [February 8, 2023, 5:47pm UTC](https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635 "2023-02-08T17:47:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saravanan\_jothilinga](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Post date:** [February 8, 2023, 5:47pm UTC](https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635/1 "2023-02-08T17:47:25Z")

</div>

Hi,  
I have installed AWX 17.0.1 on Ubuntu OS. I am trying to run a simple playbook which would copy a zip file from the controller machine (source machine) to a remote SUSE linux host (/tmp/) location. When i launch the job from AWX UI, i get this error whereas when i run the ansible playbook via CLI it works fine.

What could be wrong here?

Error msg seen:

{  
“msg”: “Source /tmp/crowdStrike.zip not found”,  
“invocation”: {  
“module\_args”: {  
“directory\_mode”: null,  
“force”: true,  
“remote\_src”: true,  
“\_original\_basename”: null,  
“owner”: “root”,  
“follow”: false,  
“local\_follow”: null,  
“group”: “root”,  
“unsafe\_writes”: null,  
“setype”: null,  
“content”: null,  
“serole”: null,  
“dest”: “/tmp/crowdStrike.zip”,  
“selevel”: null,  
“regexp”: null,  
“validate”: null,  
“src”: “/tmp/crowdStrike.zip”,  
“checksum”: null,  
“seuser”: null,  
“delimiter”: null,  
“mode”: “0755”,  
“attributes”: null,  
“backup”: false  
}  
},  
“\_ansible\_no\_log”: false,  
“changed”: false

cat main.yml

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [February 8, 2023, 6:19pm UTC](https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635/2 "2023-02-08T18:19:30Z")

</div>

👆Pretty obvious 👆

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [February 10, 2023, 6:19pm UTC](https://forum.ansible.com/t/copy-file-from-src-and-dest-remote-server-fails/37635/3 "2023-02-10T18:19:29Z")

</div>

Where is the file located in relation to the remote host? Your playbook is written to look for that file and it seems not to exist in the location provided.

Thanks,

AWX Team
