1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02: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:
jpvrenen 2017-08-01 19:18:34 +02:00 committed by Chris Alfonso
parent 25b3f194f8
commit b13d547621

View file

@ -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']: