Skip to content

Commit

Permalink
eos: Don't error on VLAN missing warning (ansible#45433)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos authored Sep 12, 2018
1 parent 6040175 commit eaf01d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ansible/plugins/terminal/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class TerminalModule(TerminalBase):
re.compile(br"invalid input", re.I),
re.compile(br"(?:incomplete|ambiguous) command", re.I),
re.compile(br"connection timed out", re.I),
re.compile(br"[^\r\n]+ not found", re.I),
# Strings like this regarding VLANs are not errors
re.compile(br"[^\r\n]+ not found(?! in current VLAN)", re.I),
re.compile(br"'[^']' +returned error code: ?\d+"),
re.compile(br"[^\r\n]\/bin\/(?:ba)?sh"),
re.compile(br"% More than \d+ OSPF instance", re.I),
Expand Down

0 comments on commit eaf01d3

Please sign in to comment.