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_igmp_interface output (#28735)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-28 17:06:30 -04:00 committed by Nathaniel Case
parent fbec5ab12d
commit 0a8ec4ddef

View file

@ -249,7 +249,10 @@ def execute_show_command(command, module, command_type='cli_show'):
'output': 'text', 'output': 'text',
}] }]
else: else:
cmds = [command] cmds = [{
'command': command,
'output': 'json',
}]
return run_commands(module, cmds) return run_commands(module, cmds)