mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #12542 from amenonsen/qfix
Clarify why we add -q only for ssh
This commit is contained in:
commit
621575681a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue