Only append -q option for ssh if we're using ssh
This commit is contained in:
parent
46984a067c
commit
4cd810a674
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue