mirror of https://github.com/ansible/ansible.git
Don't use rsync-path in synchronize with docker
When you become: with synchronize and docker it sets the rsync-path to "sudo rsync" to launch rsync on the server as root. Unfortunately due to docker exec doing stricter argument parsing than ssh this fails to launch rsync on the server and the sync fails. For docker though we don't need to launch rsync with sudo we can simply docker exec -u <user> and rsync as normal to get around the problem. Closes #20117pull/20158/head^2
parent
a94a48f85f
commit
27d218f85d
Loading…
Reference in New Issue