mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Added result responses (#23336)
Return value 'responses' is now created in result, so it can actually be called/used.
This commit is contained in:
@@ -279,7 +279,7 @@ def run(module, result):
|
||||
# send the configuration commands to the device and merge
|
||||
# them with the current running config
|
||||
if not module.check_mode:
|
||||
module.config.load_config(commands)
|
||||
result['responses'] = module.config.load_config(commands)
|
||||
result['changed'] = True
|
||||
|
||||
if module.params['save']:
|
||||
|
||||
Reference in New Issue
Block a user