From 769fa1c2d742293aae06412387d9ca1aff5e3066 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Ganesan Date: Thu, 15 Sep 2016 16:16:17 -0700 Subject: [PATCH] Support for dnos10_facts module --- CHANGELOG.md | 1 + lib/ansible/module_utils/dnos10.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ae8efed6e0..4b9b76b329c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ Ansible Changes By Release * dnos10_command * dnos10_config * dnos10_template + * dnos10_facts - exoscale: * exo_dns_domain * exo_dns_record diff --git a/lib/ansible/module_utils/dnos10.py b/lib/ansible/module_utils/dnos10.py index 9aeaa1be057..7ca9448d210 100644 --- a/lib/ansible/module_utils/dnos10.py +++ b/lib/ansible/module_utils/dnos10.py @@ -64,7 +64,7 @@ class Cli(CliBase): NET_PASSWD_RE = re.compile(r"[\r\n]?password:\s?$", re.I) CLI_PROMPTS_RE = [ - re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:>|#) ?$"), + re.compile(r"[\r\n]?[\w+\-\.:\/\[\]]+(?:\([^\)]+\)){,3}(?:#) ?$"), re.compile(r"\[\w+\@[\w\-\.]+(?: [^\]])\] ?[>#\$] ?$") ]