mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fail module when config is invalid and jsonrpc doesn't return error (#36482)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -43,7 +43,8 @@ class TerminalModule(TerminalBase):
|
||||
re.compile(br"'[^']' +returned error code: ?\d+"),
|
||||
re.compile(br"syntax error"),
|
||||
re.compile(br"unknown command"),
|
||||
re.compile(br"user not present")
|
||||
re.compile(br"user not present"),
|
||||
re.compile(br"invalid (.+?)at '\^' marker", re.I)
|
||||
]
|
||||
|
||||
def on_open_shell(self):
|
||||
|
||||
Reference in New Issue
Block a user