mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Fix issues with ironware modules (#33068)
- authorize was not working as expected - use end command to get to exec context instead of exit - error due to mishandling of global variable _DEVICE_CONFIG
This commit is contained in:
parent
d372cea2f8
commit
47eaf662a7
3 changed files with 6 additions and 3 deletions
|
@ -228,7 +228,7 @@ def run(module, result):
|
|||
if result['changed'] or module.params['save_when'] == 'always':
|
||||
result['changed'] = True
|
||||
if not module.check_mode:
|
||||
cmd = {'command': 'write memory', 'output': 'text'}
|
||||
cmd = {'command': 'write memory'}
|
||||
run_commands(module, [cmd])
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue