Merge pull request #4730 from privateip/ios_template

fix bug in ios_template when include_defaults is set to true
reviewable/pr18780/r1
Peter Sprygada 8 years ago committed by GitHub
commit 81aa3a760c

@ -119,8 +119,9 @@ from ansible.module_utils.ios import NetworkModule, NetworkError
def get_config(module):
config = module.params['config'] or dict()
defaults = module.params['include_defaults']
if not config and not module.params['force']:
config = module.config.get_config()
config = module.config.get_config(include_defaults=defaults)
return config
def main():

Loading…
Cancel
Save