|
|
@ -279,9 +279,9 @@ def run(module, result):
|
|
|
|
contents = module.params['config']
|
|
|
|
contents = module.params['config']
|
|
|
|
if not contents:
|
|
|
|
if not contents:
|
|
|
|
contents = get_config(module)
|
|
|
|
contents = get_config(module)
|
|
|
|
config = NetworkConfig(indent=1, contents=contents)
|
|
|
|
config = NetworkConfig(indent=1, contents=contents)
|
|
|
|
configobjs = candidate.difference(config, path=path, match=match,
|
|
|
|
configobjs = candidate.difference(config, path=path, match=match,
|
|
|
|
replace=replace)
|
|
|
|
replace=replace)
|
|
|
|
|
|
|
|
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
configobjs = candidate.items
|
|
|
|
configobjs = candidate.items
|
|
|
|