diff --git a/lib/ansible/modules/network/nxos/nxos_banner.py b/lib/ansible/modules/network/nxos/nxos_banner.py index 2e6ea8c06e4..b1b8457daec 100644 --- a/lib/ansible/modules/network/nxos/nxos_banner.py +++ b/lib/ansible/modules/network/nxos/nxos_banner.py @@ -93,12 +93,12 @@ import re def execute_show_command(module, command): - format = 'json' + format = 'text' cmds = [{ 'command': command, 'output': format, }] - output = run_commands(module, cmds, check_rc='retry_json') + output = run_commands(module, cmds) return output