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

Fail module if configure replace fails nxos (#43546)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2018-08-01 20:30:39 +05:30 committed by GitHub
parent 6d680d8281
commit 1f410cc19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):