mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 15:45:20 +01:00
Example :
cd "/home/a/ansible plays"
task:
- synchronize:
src: a
dest: b
Results in the following error being thrown
fatal: [remote-host]: 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='<<CHANGED>>%i %n%L' /home/a/ansible plays/deployments// remote-user@remote-host:/data/", "msg": "rsync: [sender] link_stat \"/home/a/ansible\" failed: No such file or directory (2)\nrsync: [sender] change_dir \"/home/a/ansible plays/plays/a/\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]\n", "rc": 23}
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 211_fstab_append_newline.yml | ||
| 247_firewalld.yml | ||
| 254_variable_warnings.yml | ||
| 255_authorized_key_url.yml | ||
| 263_profile_tasks_with_serial.yml | ||
| 272-copy_ignore_txt.yml | ||
| 277_fix_integration_test_on_devel.yml | ||
| disable_selinux_via_kernel_cmdline.yml | ||
| sanity_fixes.yml | ||
| shell_escape_full_path_for_rsync.yml | ||