Config_module_changes (#30507)

This commit is contained in:
abirami-n 2017-11-24 11:22:46 +05:30 committed by ansibot
parent 1e46e65103
commit 0c75f00248
3 changed files with 6 additions and 3 deletions

View file

@ -259,7 +259,8 @@ def main():
configobjs = candidate.items
if module.params['backup']:
result['__backup__'] = get_config(module)
if not module.check_mode:
result['__backup__'] = get_config(module)
commands = list()

View file

@ -254,7 +254,8 @@ def main():
else:
configobjs = candidate.items
if module.params['backup']:
result['__backup__'] = get_config(module)
if not module.check_mode:
result['__backup__'] = get_config(module)
commands = list()

View file

@ -265,7 +265,8 @@ def main():
configobjs = candidate.items
if module.params['backup']:
result['__backup__'] = get_config(module)
if not module.check_mode:
result['__backup__'] = get_config(module)
commands = list()