forked from ungleich-public/cdist
Merge branch 'rsync-ssh-multiplex' into 'master'
__rsync: Use $__remote_exec and thus the ssh multiplexing See merge request ungleich-public/cdist!1001
This commit is contained in:
commit
b8f601ee15
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ if [ -f "$__object/parameter/rsync-opts" ]; then
|
|||
done < "$__object/parameter/rsync-opts"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
echo rsync -a \
|
||||
--no-owner --no-group \
|
||||
-e \"${__remote_exec}\" \
|
||||
-q "$@" "${source}/" "${remote_user}@${__target_host}:${destination}"
|
||||
|
|
Loading…
Reference in a new issue