ansible.posix/plugins/modules
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
..
__init__.py Initial commit 2020-03-09 13:15:28 +00:00
acl.py acl: Add new alias 2021-06-04 16:51:15 +05:30
at.py Append line-separator to the end of command line 2021-05-05 09:35:39 +09:00
authorized_key.py docs(authorized_key): add lookup.url example 2021-09-08 08:00:56 +02:00
firewalld.py Display warning message if wrong parameter set to masquerade or icmp-block-inversion 2021-09-06 09:14:34 +09:00
firewalld_info.py Add new firewalld_info module to ansible.posix collection 2021-07-09 23:47:12 +09:00
mount.py mount - add a newline at the end of line in fstab 2021-09-27 12:19:06 +09:00
patch.py patch - add line break to fix pep8 error 2020-07-12 12:09:52 +02:00
seboolean.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
selinux.py selinux: update kernel boot params when disabling/re-enabling SELinux 2021-09-20 10:09:54 +05:30
synchronize.py 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
sysctl.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30