mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
fix for banner idempotent issue (#46001)
* fix for banner issue * review comments
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user