From 7bb2a7aa874d881fa688f0efe1f050d379d01dfa Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 18 Jun 2015 10:23:37 -0400 Subject: [PATCH] actually no password to handle, this should return false --- lib/ansible/plugins/connections/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/connections/__init__.py b/lib/ansible/plugins/connections/__init__.py index 40c7b13e954..e6abc911021 100644 --- a/lib/ansible/plugins/connections/__init__.py +++ b/lib/ansible/plugins/connections/__init__.py @@ -131,7 +131,7 @@ class ConnectionBase(with_metaclass(ABCMeta, object)): def check_password_prompt(self, output): if self.prompt is None: - return True + return False elif isinstance(self.prompt, basestring): return output.endswith(self.prompt) else: