From f8cef96c2c535204f75be9f176a41f429f7526ef Mon Sep 17 00:00:00 2001 From: John R Barker Date: Fri, 31 Mar 2017 18:38:57 +0100 Subject: [PATCH] Updated the Regex for promt matching (#23186) (#23188) (cherry picked from commit 632270b913d7e8a797787de8380b6671a65c16c8) --- lib/ansible/plugins/terminal/dellos10.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/terminal/dellos10.py b/lib/ansible/plugins/terminal/dellos10.py index 16ac2ad529d..f1079e4844b 100644 --- a/lib/ansible/plugins/terminal/dellos10.py +++ b/lib/ansible/plugins/terminal/dellos10.py @@ -31,7 +31,7 @@ from ansible.errors import AnsibleConnectionFailure class TerminalModule(TerminalBase): terminal_stdout_re = [ - re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"), + re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:#) ?$"), re.compile(r"\[\w+\@[\w\-\.]+(?: [^\]])\] ?[>#\$] ?$") ]