From 8a3ea0774ae3001f99139098650b98499add70e4 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 19 Jul 2013 09:09:04 -0400 Subject: [PATCH] Update error message since user may have specified connection type via non command line or by default. --- lib/ansible/runner/connection_plugins/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/connection_plugins/ssh.py b/lib/ansible/runner/connection_plugins/ssh.py index 979f62ebd3e..97ad30cc892 100644 --- a/lib/ansible/runner/connection_plugins/ssh.py +++ b/lib/ansible/runner/connection_plugins/ssh.py @@ -82,7 +82,7 @@ class Connection(object): stdout=subprocess.PIPE, stderr=subprocess.PIPE) p.communicate() except OSError: - raise errors.AnsibleError("to use -c ssh with passwords, you must install the sshpass program") + raise errors.AnsibleError("to use the 'ssh' connection type with passwords, you must install the sshpass program") (self.rfd, self.wfd) = os.pipe() return ["sshpass", "-d%d" % self.rfd] return []