summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2017-03-31 18:38:57 +0100
committerGitHub <noreply@github.com>2017-03-31 18:38:57 +0100
commitf8cef96c2c535204f75be9f176a41f429f7526ef (patch)
tree31983d86d6c1462ad58db5b5c7d75c6704b41d4b
parent1b2411c6d2e5ff203d69d4f357bc78b72ed87f14 (diff)
downloadansible-f8cef96c2c535204f75be9f176a41f429f7526ef.tar.gz
Updated the Regex for promt matching (#23186) (#23188)
(cherry picked from commit 632270b913d7e8a797787de8380b6671a65c16c8)
-rw-r--r--lib/ansible/plugins/terminal/dellos10.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/terminal/dellos10.py b/lib/ansible/plugins/terminal/dellos10.py
index 16ac2ad529..f1079e4844 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\-\.]+(?: [^\]])\] ?[>#\$] ?$")
]