From 2ce219b5af22153576479db22c0c03605e7dded7 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Mon, 28 Sep 2015 16:00:23 +0530 Subject: [PATCH] Clarify why we add -q only for ssh --- lib/ansible/plugins/connection/ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/plugins/connection/ssh.py b/lib/ansible/plugins/connection/ssh.py index 7ac4d5ce8b..c7bbfc4f44 100644 --- a/lib/ansible/plugins/connection/ssh.py +++ b/lib/ansible/plugins/connection/ssh.py @@ -129,6 +129,7 @@ class Connection(ConnectionBase): if self._play_context.verbosity > 3: self._command += ['-vvv'] elif binary == 'ssh': + # Older versions of ssh (e.g. in RHEL 6) don't accept sftp -q. self._command += ['-q'] # Next, we add ansible_ssh_args from the inventory if it's set, or