1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Adding a regex for stderr catching. (#31945)

This commit is contained in:
James Mighion 2017-10-25 14:51:49 -07:00 committed by Tim Rupp
parent 09f55d300b
commit 11153df0a1

View file

@ -36,6 +36,7 @@ class TerminalModule(TerminalBase):
terminal_stderr_re = [ terminal_stderr_re = [
re.compile(br"% ?Error"), re.compile(br"% ?Error"),
re.compile(br"Syntax Error", re.I),
re.compile(br"% User not present"), re.compile(br"% User not present"),
re.compile(br"% ?Bad secret"), re.compile(br"% ?Bad secret"),
re.compile(br"invalid input", re.I), re.compile(br"invalid input", re.I),