routeros_command – add support for dot in username (#66293)

* routeros_command – add support for dot in username (#65905)

* chore: changelog
pull/66383/head
Egor Zaitsev 5 years ago committed by Matt Clay
parent 610487df3c
commit 95b7bc15a0

@ -0,0 +1,3 @@
---
bugfixes:
- Fix regular expression to allow dots in username (https://github.com/ansible/ansible/pull/66293)

@ -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…
Cancel
Save