Commit 62157568 by James Cammarata

Merge pull request #12542 from amenonsen/qfix

Clarify why we add -q only for ssh
parents ed73b45e 2ce219b5
...@@ -129,6 +129,7 @@ class Connection(ConnectionBase): ...@@ -129,6 +129,7 @@ class Connection(ConnectionBase):
if self._play_context.verbosity > 3: if self._play_context.verbosity > 3:
self._command += ['-vvv'] self._command += ['-vvv']
elif binary == 'ssh': elif binary == 'ssh':
# Older versions of ssh (e.g. in RHEL 6) don't accept sftp -q.
self._command += ['-q'] self._command += ['-q']
# Next, we add ansible_ssh_args from the inventory if it's set, or # Next, we add ansible_ssh_args from the inventory if it's set, or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment