mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-24 18:58:41 +02:00
* Update routeros.py Adjust the terminal detection line to support forward slashes in device hostnames (connections fail without clear reason otherwise) * Add changelog fragment. Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 3f3e0d0) Fore-ported from ansible-collections/community.network#138.
This commit is contained in:
parent
70208c0401
commit
49ca4c0279
2 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,7 @@ class TerminalModule(TerminalBase):
|
|||
|
||||
terminal_stdout_re = [
|
||||
re.compile(br"\x1b<"),
|
||||
re.compile(br"\[[\w\.]+\@[\w\s\-\.]+\] ?> ?$"),
|
||||
re.compile(br"\[[\w\.]+\@[\w\s\-\.\/]+\] ?> ?$"),
|
||||
re.compile(br"Please press \"Enter\" to continue!"),
|
||||
re.compile(br"Do you want to see the software license\? \[Y\/n\]: ?"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue