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:
parent
fbec5ab12d
commit
0a8ec4ddef
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue