mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
new module exos_config (#43902)
- support config operations for EXOS-based platforms - add regex to detect command failure responses - add exos action plugin for "backup" operation - add unit tests for exos_command (currently 94% coverage of exos_config.py)
This commit is contained in:
parent
00e7c020b2
commit
dc08b9a738
9 changed files with 874 additions and 2 deletions
|
@ -43,7 +43,8 @@ class TerminalModule(TerminalBase):
|
|||
re.compile(br"Bad mask", re.I),
|
||||
re.compile(br"% ?(\S+) ?overlaps with ?(\S+)", re.I),
|
||||
re.compile(br"[%\S] ?Error: ?[\s]+", re.I),
|
||||
re.compile(br"[%\S] ?Informational: ?[\s]+", re.I)
|
||||
re.compile(br"[%\S] ?Informational: ?[\s]+", re.I),
|
||||
re.compile(br"%% Invalid .* at '\^' marker.", re.I),
|
||||
]
|
||||
|
||||
def on_open_shell(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue