mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 03:12:46 +00:00
Added regex to recognize prompt (#31947)
This commit is contained in:
committed by
Ganesh Nalawade
parent
4ffd60a406
commit
531d6c50bf
@@ -31,7 +31,8 @@ class TerminalModule(TerminalBase):
|
||||
|
||||
terminal_stdout_re = [
|
||||
re.compile(br"[\r\n]?[\w]*\(.+\) ?#(?:\s*)$"),
|
||||
re.compile(br"[pP]assword:$")
|
||||
re.compile(br"[pP]assword:$"),
|
||||
re.compile(br"(?<=\s)[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\s*#\s*$"),
|
||||
]
|
||||
|
||||
terminal_stderr_re = [
|
||||
|
||||
Reference in New Issue
Block a user