mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 08:11:12 +00:00
actually no password to handle, this should return false
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user