1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix for banner idempotent issue (#46001)

* fix for banner issue

* review comments
This commit is contained in:
saichint 2018-09-26 03:18:56 -07:00 committed by Trishna Guha
parent f73996e6eb
commit 2b216384eb

View file

@ -93,12 +93,12 @@ import re
def execute_show_command(module, command): def execute_show_command(module, command):
format = 'json' format = 'text'
cmds = [{ cmds = [{
'command': command, 'command': command,
'output': format, 'output': format,
}] }]
output = run_commands(module, cmds, check_rc='retry_json') output = run_commands(module, cmds)
return output return output