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:
parent
f73996e6eb
commit
2b216384eb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue