# Unable o copy file in the Ansible tower

**URL:** <https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027>\
**Category:** AWX Project\
**Created:** [October 14, 2020, 3:14am UTC](https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027 "2020-10-14T03:14:01Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [October 14, 2020, 3:14am UTC](https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027/1 "2020-10-14T03:14:01Z")

</div>

Hi,

Kindly help on the below issue,

I was trying to 2gb file from ansible controller to ansible node where am using copy / synchronize module and my all playbooks are working fine in the ansible cli, when it comes to ansible tower am getting below error.

Private key added and Password too.

Node is able to ping from the tower successfully.

Kindly help what could be the issue.

**Error:**

fatal: [p01lap095.corp.tet.tst]: FAILED! =\> {

“changed”: false,

“cmd”: “sshpass -d8 /usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --out-format=\<\>%i %n%L /opt/tibco/image/binaries.tar tibco@ p01lap095.corp.tet.tst :/opt/tibco”,

“invocation”: {

“module\_args”: {

“\_local\_rsync\_password”: “VALUE\_SPECIFIED\_IN\_NO\_LOG\_PARAMETER”,

“\_local\_rsync\_path”: “rsync”,

“\_substitute\_controller”: false,

“archive”: true,

“checksum”: false,

“compress”: true,

“copy\_links”: false,

“delete”: false,

“dest”: “tibco@ p01lap095.corp.tet.tst :/opt/tibco”,

“dest\_port”: null,

“dirs”: false,

“existing\_only”: false,

“group”: null,

“link\_dest”: null,

“links”: null,

“mode”: “push”,

“owner”: null,

“partial”: false,

“perms”: null,

“private\_key”: null,

“recursive”: null,

“rsync\_opts”: ,

“rsync\_path”: null,

“rsync\_timeout”: 0,

“set\_remote\_user”: true,

“src”: “/opt/tibco/image/binaries.tar”,

“ssh\_args”: null,

“times”: null,

“verify\_host”: false

}

},

“msg”: “Warning: Permanently added ‘p01lap095.corp.tet.tst,xxx.xxx.xx.xxx’ (ECDSA) to the list of known hosts.\r\n\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\n\* THIS SYSTEM AND ALL RELATED INFORMATION ACCESSED THEREBY IS THE PROPERTY _\n_\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\n\nrsync: change\_dir \”/opt/tibco/image\" failed: Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]\n",

“rc”: 23

}

---

<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:** [October 14, 2020, 3:42pm UTC](https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027/2 "2020-10-14T15:42:05Z")

</div>

Can Any one can help on this please

---

<div class="post-metadata">

**Author:** ![Robert\_Sossomon](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@Robert\_Sossomon](https://forum.ansible.com/u/Robert_Sossomon)\
**Post date:** [October 14, 2020, 4:18pm UTC](https://forum.ansible.com/t/unable-o-copy-file-in-the-ansible-tower/34027/3 "2020-10-14T16:18:09Z")

</div>

Output says it all, the ID trying to transfer the file doesn’t have access to that directory.

Try changing it to an upper level directory or /tmp and ensure the file copies, or re-set the permissions for the ansible runner to be able to place the file in the correct path.

HTH,  
Robert
