From f973f93963bc92bac71d191fec508deab9e58014 Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Tue, 12 Sep 2017 17:17:07 -0400 Subject: [PATCH] Fix nxos_smu error (#30157) --- lib/ansible/modules/network/nxos/nxos_smu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_smu.py b/lib/ansible/modules/network/nxos/nxos_smu.py index 296799640f..1f6fffc827 100644 --- a/lib/ansible/modules/network/nxos/nxos_smu.py +++ b/lib/ansible/modules/network/nxos/nxos_smu.py @@ -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))