1
0
Fork 0
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:
Rohit 2019-05-17 11:49:00 +05:30 committed by GitHub
parent 6c1dbbe554
commit 06c050e9bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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