# task in playbook fails on AWX

**URL:** <https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 23, 2022, 11:58pm UTC](https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654 "2022-05-23T23:58:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Dias](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Post date:** [May 23, 2022, 11:58pm UTC](https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654/1 "2022-05-23T23:58:05Z")

</div>

I have a playbook that has the following

- name: Place Google Chrome launcher script  
synchronize:  
src: “bins/Remote Consult.app”  
dest: “/Applications/”  
tags: rc

it is failing on this task and the only thing iI have been able to determine the file has a space in it.

if I run it from ansible it works just fine  
doe anyone know how I can structure src: “bins/Remote Consult.app” so that when i run the template that calls the playbook from AWX it will copy the directory over to teh client being configured?

Thank you in advance

Frank

---

<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:** [June 1, 2022, 7:49pm UTC](https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654/2 "2022-06-01T19:49:57Z")

</div>

Hi,

Can you please provide information about your setup? i.e. AWX and awx operator versions. Are you using a custom EE?

> it is failing on this task

what does the stdout say for this failed task?

Thanks

AWX Team

---

<div class="post-metadata">

**Author:** ![Frank\_Dias](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Post date:** [June 3, 2022, 3:28pm UTC](https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654/3 "2022-06-03T15:28:55Z")

</div>

fatal: [[np-003.domian.com](http://np-003.domian.com)]: FAILED! =\> {“changed”: false, “cmd”: “/usr/bin/rsync --delay-updates -F --compress --archive --rsh=‘/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null’ --rsync-path=‘sudo -u root rsync’ --out-format=‘\<\>%i %n%L’ /runner/project/bins/Remote Consult.app [administrator@np-003.dllstx02.catapulthealth.com](mailto:administrator@np-003.dllstx02.catapulthealth.com):/Applications/”, “msg”: “Warning: Permanently added ‘[np-003.domain.com](http://np-003.domain.com),10.10.90.103’ (ECDSA) to the list of known hosts.\r\nrsync: link\_stat "/runner/project/bins/Remote" failed: No such file or directory (2)\nrsync: link\_stat "/runner/project/Consult.app" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n”, “rc”: 23} in AWX details

Modulesynchronizecommand used /usr/bin/rsync --delay-updates -F --compress --archive --rsh=‘/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null’ --rsync-path=‘sudo -u root rsync’ --out-format=‘\<\>%i %n%L’ /runner/project/bins/Remote Consult.app [administrator@np-003.domain.com](mailto:administrator@np-003.domain.com):/Applications/

---

<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:** [June 8, 2022, 7:42pm UTC](https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654/4 "2022-06-08T19:42:03Z")

</div>

I see, yeah seems like it’s related to the space in the src file name. This question may be better suited for the Ansible group [https://groups.google.com/g/ansible-project](https://groups.google.com/g/ansible-project) , so I’d recommend also posting there

AWX Team

---

<div class="post-metadata">

**Author:** ![Frank\_Dias](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Post date:** [June 9, 2022, 2:44am UTC](https://forum.ansible.com/t/task-in-playbook-fails-on-awx/36654/5 "2022-06-09T02:44:54Z")

</div>

I do not have this issue if I run it from ansible cli, I am seeing this in the AWX template running the same playbook
