mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fail module if configure replace fails nxos (#43546)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -48,7 +48,8 @@ class TerminalModule(TerminalBase):
|
||||
re.compile(br"unknown command"),
|
||||
re.compile(br"user not present"),
|
||||
re.compile(br"invalid (.+?)at '\^' marker", re.I),
|
||||
re.compile(br"baud rate of console should be (\d*) to increase severity level", re.I)
|
||||
re.compile(br"baud rate of console should be (\d*) to increase severity level", re.I),
|
||||
re.compile(br"Configure replace failed", re.I),
|
||||
]
|
||||
|
||||
def on_become(self, passwd=None):
|
||||
|
||||
Reference in New Issue
Block a user