Skip to content

Commit

Permalink
Allow SSH synchronization between Docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
nabilbendafi committed Dec 11, 2019
1 parent d9f0703 commit e11b847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/plugins/action/synchronize.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def run(self, tmp=None, task_vars=None):

# If launching synchronize against docker container
# use rsync_opts to support container to override rsh options
if self._remote_transport in ['docker', 'buildah']:
if self._remote_transport in ['docker', 'buildah'] and not use_delegate:
# Replicate what we do in the module argumentspec handling for lists
if not isinstance(_tmp_args.get('rsync_opts'), MutableSequence):
tmp_rsync_opts = _tmp_args.get('rsync_opts', [])
Expand Down

0 comments on commit e11b847

Please sign in to comment.