1
0
Fork 0
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:
Mike Wiebe 2017-09-12 17:17:07 -04:00 committed by John R Barker
parent 59702318e1
commit f973f93963

View file

@ -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))