From 81072fcba10d6436babe3e0cd7525f857143a985 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Ganesan Date: Thu, 15 Sep 2016 11:22:23 -0700 Subject: [PATCH] Added support OS9 facts (#17591) --- CHANGELOG.md | 1 + lib/ansible/module_utils/dnos9.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb2276528f9..7ae8efed6e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,6 +74,7 @@ Ansible Changes By Release * dnos9_command * dnos9_config * dnos9_template + * dnos9_facts - dnos10 * dnos10_command * dnos10_config diff --git a/lib/ansible/module_utils/dnos9.py b/lib/ansible/module_utils/dnos9.py index 0efa77f86e6..85b431a5a4f 100755 --- a/lib/ansible/module_utils/dnos9.py +++ b/lib/ansible/module_utils/dnos9.py @@ -75,7 +75,7 @@ class Cli(CliBase): ] CLI_ERRORS_RE = [ - re.compile(r"% ?Error: (?:(?!\bdoes not exist\b)(?!\balready exists\b)(?!\bHost not found\b).)*$"), + re.compile(r"% ?Error: (?:(?!\bdoes not exist\b)(?!\balready exists\b)(?!\bHost not found\b)(?!\bnot active\b).)*$"), re.compile(r"% ?Bad secret"), re.compile(r"invalid input", re.I), re.compile(r"(?:incomplete|ambiguous) command", re.I),