From b2202c6da867e07b3ae32812daf4f9cb9ba4092f Mon Sep 17 00:00:00 2001 From: Peter Sprygada Date: Sun, 10 Jul 2016 12:38:08 -0400 Subject: [PATCH] update ios_facts module to use NetworkModule minor update to ios_facts to remove get_module() in favor of NetworkModule --- network/ios/ios_facts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/ios/ios_facts.py b/network/ios/ios_facts.py index d7c5b761671..2976edcf6c7 100644 --- a/network/ios/ios_facts.py +++ b/network/ios/ios_facts.py @@ -119,7 +119,7 @@ import re from ansible.module_utils.basic import get_exception from ansible.module_utils.netcmd import CommandRunner -from ansible.module_utils.ios import get_module +from ansible.module_utils.ios import NetworkModule class FactsBase(object): @@ -373,7 +373,7 @@ def main(): gather_subset=dict(default=['!config'], type='list') ) - module = get_module(argument_spec=spec, supports_check_mode=True) + module = NetworkModule(argument_spec=spec, supports_check_mode=True) gather_subset = module.params['gather_subset']