mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
asa_config fix (#56559)
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
This commit is contained in:
parent
6c1dbbe554
commit
06c050e9bd
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue