mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
Config_module_changes (#30507)
This commit is contained in:
parent
1e46e65103
commit
0c75f00248
3 changed files with 6 additions and 3 deletions
|
@ -259,6 +259,7 @@ def main():
|
|||
configobjs = candidate.items
|
||||
|
||||
if module.params['backup']:
|
||||
if not module.check_mode:
|
||||
result['__backup__'] = get_config(module)
|
||||
|
||||
commands = list()
|
||||
|
|
|
@ -254,6 +254,7 @@ def main():
|
|||
else:
|
||||
configobjs = candidate.items
|
||||
if module.params['backup']:
|
||||
if not module.check_mode:
|
||||
result['__backup__'] = get_config(module)
|
||||
|
||||
commands = list()
|
||||
|
|
|
@ -265,6 +265,7 @@ def main():
|
|||
configobjs = candidate.items
|
||||
|
||||
if module.params['backup']:
|
||||
if not module.check_mode:
|
||||
result['__backup__'] = get_config(module)
|
||||
|
||||
commands = list()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue