diff --git a/lib/ansible/plugins/connection/ssh.py b/lib/ansible/plugins/connection/ssh.py index 651dc4d3518..7ac4d5ce8b1 100644 --- a/lib/ansible/plugins/connection/ssh.py +++ b/lib/ansible/plugins/connection/ssh.py @@ -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