Asa config fix28 backport (#56562)
* asa_config fix (#56559)
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
(cherry picked from commit 06c050e9bd
)
* asa_config_content_fix
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
This commit is contained in:
parent
2f767bda9b
commit
314049aa71
2 changed files with 5 additions and 3 deletions
2
changelogs/fragments/asa_config_content_fix.yaml
Normal file
2
changelogs/fragments/asa_config_content_fix.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- asa_config fix <https://github.com/ansible/ansible/pull/56559>
|
|
@ -279,9 +279,9 @@ def run(module, result):
|
|||
contents = module.params['config']
|
||||
if not contents:
|
||||
contents = get_config(module)
|
||||
config = NetworkConfig(indent=1, contents=contents)
|
||||
configobjs = candidate.difference(config, path=path, match=match,
|
||||
replace=replace)
|
||||
config = NetworkConfig(indent=1, contents=contents)
|
||||
configobjs = candidate.difference(config, path=path, match=match,
|
||||
replace=replace)
|
||||
|
||||
else:
|
||||
configobjs = candidate.items
|
||||
|
|
Loading…
Reference in a new issue