Hi.

I have:

- name: Copy files to BackupDMZ
ansible.posix.synchronize:
src: /opt/docusnap/*.xml
dest: /opt/docusnap_proxy/
mode: pull
rsync_opts:
- "--timeout=30"
delegate_to: 172.31.10.84

which workls for all hosts except the 172.31.10.84 itself. Ansible created 
the following cmd for this server:

/usr/bin/rsync --delay-updates -F --compress --archive --timeout=30 
--out-format='<<CHANGED>>%i %n%L' /opt/docusnap/*.xml /opt/docusnap_proxy/

Seems ok, but I get:

rsync: link_stat \"/opt/docusnap/*.xml\" failed: No such file or directory 
(2)\nrsync error: some files/attrs were not transferred (see previous 
errors) (code 23) at main.c(1196) [sender=3.1.2]\n

But when I fire this cmd myself via root on that server, all is ok. Both 
folders exist. 

Any idea whats wrong here?

Debug out: https://pastebin.com/0RmKanCY

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2cba0c00-2b98-4154-a1c2-57b1894fc11bn%40googlegroups.com.

Reply via email to