We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc47df commit 3efb11eCopy full SHA for 3efb11e
lib/ansible/modules/files/synchronize.py
@@ -476,9 +476,9 @@ def main():
476
ssh_cmd.extend(['-o', 'Port=%s' % dest_port])
477
if not verify_host:
478
ssh_cmd.extend(['-o', 'StrictHostKeyChecking=no'])
479
- if ssh_args:
480
- ssh_cmd.append(ssh_args)
481
ssh_cmd_str = ' '.join(shlex_quote(arg) for arg in ssh_cmd)
+ if ssh_args:
+ ssh_cmd_str += ' %s' % ssh_args
482
cmd.append('--rsh=%s' % ssh_cmd_str)
483
484
if rsync_path:
0 commit comments