# COPY failing

**URL:** <https://forum.ansible.com/t/copy-failing/28520>\
**Category:** Ansible Project\
**Created:** [September 6, 2018, 9:19pm UTC](https://forum.ansible.com/t/copy-failing/28520 "2018-09-06T21:19:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andres\_Tarallo](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@Andres\_Tarallo](https://forum.ansible.com/u/Andres_Tarallo)\
**Post date:** [September 6, 2018, 9:19pm UTC](https://forum.ansible.com/t/copy-failing/28520/1 "2018-09-06T21:19:15Z")

</div>

I’ve made a playbook that was copying files from one host to an other. Till yesterday, that started failing.

After Paying the task says:  
TASK [Deployment Application] \*\*\*\*\*\*\*\*\*\*\*\*  
changed: [192.168.214.99] =\> {“changed”: true}

But the result doesn’t look as a proper copy. Here’s the debug

TASK [debug] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [192.168.214.99] =\> {  
“result”: {  
“changed”: true,  
“diff”: ,  
“failed”: false  
}  
}

The offending snippet is

- name: Deployment Application  
copy:  
src: /source?file  
dest: /source/files/deploys  
group: jboss  
owner: jboss  
follow: yes  
backup: yes  
register: result

Any idea is welcome, it’s my first steps in ansible

---

<div class="post-metadata">

**Author:** ![julian.mitchellkriel](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@julian.mitchellkriel](https://forum.ansible.com/u/julian.mitchellkriel)\
**Post date:** [September 6, 2018, 9:50pm UTC](https://forum.ansible.com/t/copy-failing/28520/2 "2018-09-06T21:50:19Z")

</div>

Your indentation does not look correct,can you confirm that the below is the play you’re running
