mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Only append -q option for ssh if we're using ssh
This commit is contained in:
@@ -128,7 +128,7 @@ class Connection(ConnectionBase):
|
|||||||
|
|
||||||
if self._play_context.verbosity > 3:
|
if self._play_context.verbosity > 3:
|
||||||
self._command += ['-vvv']
|
self._command += ['-vvv']
|
||||||
else:
|
elif binary == 'ssh':
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user