Added result responses (#23336)
Return value 'responses' is now created in result, so it can actually be called/used.
This commit is contained in:
parent
25b3f194f8
commit
b13d547621
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ def run(module, result):
|
||||||
# send the configuration commands to the device and merge
|
# send the configuration commands to the device and merge
|
||||||
# them with the current running config
|
# them with the current running config
|
||||||
if not module.check_mode:
|
if not module.check_mode:
|
||||||
module.config.load_config(commands)
|
result['responses'] = module.config.load_config(commands)
|
||||||
result['changed'] = True
|
result['changed'] = True
|
||||||
|
|
||||||
if module.params['save']:
|
if module.params['save']:
|
||||||
|
|
Loading…
Reference in a new issue