From 632270b913d7e8a797787de8380b6671a65c16c8 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Ganesan Date: Fri, 31 Mar 2017 10:29:46 -0700 Subject: [PATCH] Updated the Regex for promt matching (#23186) --- 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\-\.]+(?: [^\]])\] ?[>#\$] ?$") ]