From 2b216384eb116181490fc5f0094d26e30378e905 Mon Sep 17 00:00:00 2001 From: saichint Date: Wed, 26 Sep 2018 03:18:56 -0700 Subject: [PATCH] fix for banner idempotent issue (#46001) * fix for banner issue * review comments --- lib/ansible/modules/network/nxos/nxos_banner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_banner.py b/lib/ansible/modules/network/nxos/nxos_banner.py index 2e6ea8c06e..b1b8457dae 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