ansible.posix/plugins
Mike Wallis d1be5519e6 Whitespaces in paths or current working directory path of playbook causes rsync to incorrectly chdir to current source dir,
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}
2021-10-25 19:44:43 +01:00
..
action synchronize: Use SSH args from SSH connection plugins (#223) 2021-08-11 10:45:52 +05:30
callback Correctly calculate task execution time with serial execution 2021-09-10 13:21:37 +09:00
module_utils Fix sanity test for modules 2021-03-02 18:53:06 +05:30
modules Whitespaces in paths or current working directory path of playbook causes rsync to incorrectly chdir to current source dir, 2021-10-25 19:44:43 +01:00
shell csh: Define `ECHO and COMMAND_SEP` 2021-06-09 17:46:09 +05:30