From 38b7c80217c4e72b1d8988eb1e60bb6e77334114 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:22 +0200 Subject: Adding upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/cisco/ios/plugins/terminal/ios.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ansible_collections/cisco/ios/plugins/terminal/ios.py') diff --git a/ansible_collections/cisco/ios/plugins/terminal/ios.py b/ansible_collections/cisco/ios/plugins/terminal/ios.py index 7ba3491ef..3be46ebfa 100644 --- a/ansible_collections/cisco/ios/plugins/terminal/ios.py +++ b/ansible_collections/cisco/ios/plugins/terminal/ios.py @@ -50,12 +50,14 @@ class TerminalModule(TerminalBase): re.compile(rb"'[^']' +returned error code: ?\d+"), re.compile(rb"Bad mask", re.I), re.compile(rb"% ?(\S+) ?overlaps with ?(\S+)", re.I), - re.compile(rb"[%\S] ?Error: ?[\s]+", re.I), - re.compile(rb"[%\S] ?Informational: ?[\s]+", re.I), + re.compile(rb"% ?(\S+) ?Error: ?[\s]+", re.I), + re.compile(rb"% ?(\S+) ?Informational: ?[\s]+", re.I), re.compile(rb"Command authorization failed"), re.compile(rb"Command Rejected: ?[\s]+", re.I), re.compile(rb"% General session commands not allowed under the address family", re.I), re.compile(rb"% BGP: Error initializing topology", re.I), + re.compile(rb"%SNMP agent not enabled", re.I), + re.compile(rb"% Invalid", re.I), ] terminal_config_prompt = re.compile(r"^.+\(config(-.*)?\)#$") -- cgit v1.2.3