Allow SSH synchronization between Docker containers
This commit is contained in:
parent
fb87f6f502
commit
1c15a485c2
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ class ActionModule(ActionBase):
|
|||
|
||||
# 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', [])
|
||||
|
|
Loading…
Reference in a new issue