ansible.posix/tests/integration/targets
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
..
acl Fix integration test error on ansible devel branch 2021-10-04 17:10:20 +09:00
at Revert "Enable at, patch and synchronize tests (#5)" (#35) 2020-06-04 15:54:14 -05:00
authorized_key Restructure integration tests for authorized_key module 2021-07-02 16:27:02 +09:00
firewalld firewalld: Correct usage of queryForwardPort 2021-08-16 14:12:22 +05:30
firewalld_info Add new firewalld_info module to ansible.posix collection 2021-07-09 23:47:12 +09:00
mount mount - add a newline at the end of line in fstab 2021-09-27 12:19:06 +09:00
patch patch - add integration test for ignore_whitespace 2020-07-12 12:09:56 +02:00
prepare_tests/tasks Initial commit 2020-03-09 13:15:28 +00:00
seboolean Bootstrap Collection (#1) 2020-03-13 09:12:26 +00:00
selinux Fix integration test error on ansible devel branch 2021-10-04 17:10:20 +09:00
setup_pkg_mgr/tasks Enable firewalld tests 2021-08-02 20:26:42 +05:30
synchronize 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 Fix integration test error on ansible devel branch 2021-10-04 17:10:20 +09:00