Clarify why we add -q only for ssh

pull/12542/head
Abhijit Menon-Sen 9 years ago
parent 4cd810a674
commit 2ce219b5af

@ -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

Loading…
Cancel
Save