diff --git a/lib/ansible/connection.py b/lib/ansible/connection.py index 2a9ec09849..f2866cd538 100755 --- a/lib/ansible/connection.py +++ b/lib/ansible/connection.py @@ -69,7 +69,10 @@ class ParamikoConnection(object): port=self.runner.remote_port ) except Exception, e: - raise errors.AnsibleConnectionFailed(str(e)) + if str(e).find("PID check failed") != -1: + raise errors.AnsibleError("paramiko version issue, please upgrade paramiko on the overlord") + else: + raise errors.AnsibleConnectionFailed(str(e)) return self def exec_command(self, cmd):