mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix nxos_smu error (#30157)
This commit is contained in:
parent
59702318e1
commit
f973f93963
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ def get_commands(module, pkg, file_system):
|
|||
commands.append('install activate {0}{1} force'.format(
|
||||
file_system, pkg))
|
||||
command = 'show install committed'
|
||||
install_body = execute_show_command(command, module,
|
||||
command_type='cli_show_ascii')
|
||||
install_body = execute_show_command(command, module)
|
||||
if fixed_pkg not in install_body[0]:
|
||||
commands.append('install commit {0}{1}'.format(file_system, pkg))
|
||||
|
||||
|
|
Loading…
Reference in a new issue