Only append -q option for ssh if we're using ssh

This commit is contained in:
James Cammarata 2015-09-26 21:27:38 -04:00
parent 46984a067c
commit 4cd810a674

View file

@ -128,7 +128,7 @@ class Connection(ConnectionBase):
if self._play_context.verbosity > 3:
self._command += ['-vvv']
else:
elif binary == 'ssh':
self._command += ['-q']
# Next, we add ansible_ssh_args from the inventory if it's set, or