diff --git a/lib/ansible/plugins/connections/__init__.py b/lib/ansible/plugins/connections/__init__.py index 40c7b13e95..e6abc91102 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: