From 4cd810a67487cc0f3903006bebcb6c228485443b Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sat, 26 Sep 2015 21:27:38 -0400 Subject: [PATCH] Only append -q option for ssh if we're using ssh --- lib/ansible/plugins/connection/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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