mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07: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):
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue