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

ignore connection timeout out within parenthesis (#48413)

This commit is contained in:
Deepak Agrawal 2018-12-14 11:22:10 +05:30 committed by GitHub
parent fb8b59fcc6
commit f2eef2d30b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ class TerminalModule(TerminalBase):
re.compile(br"% ?This command is not authorized"), re.compile(br"% ?This command is not authorized"),
re.compile(br"invalid input", re.I), re.compile(br"invalid input", re.I),
re.compile(br"(?:incomplete|ambiguous) command", re.I), re.compile(br"(?:incomplete|ambiguous) command", re.I),
re.compile(br"connection timed out", re.I), re.compile(br"(?<!\()connection timed out(?!\))", re.I),
re.compile(br"[^\r\n]+ not found", re.I), re.compile(br"[^\r\n]+ not found", re.I),
re.compile(br"'[^']' +returned error code: ?\d+"), re.compile(br"'[^']' +returned error code: ?\d+"),
re.compile(br"Failed to commit", re.I) re.compile(br"Failed to commit", re.I)