mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add run_commands api for ios and vyos cliconf plugin (#42093)
* Add run_commands api for ios and vyos cliconf plugin * Add run_commands api to ios and vyos cliconf plugin * Refactor ios and vyos module_utils to check return code in run_commands * Fix Ci failures
This commit is contained in:
@@ -168,7 +168,7 @@ def parse_commands(module, warnings):
|
||||
warnings.append('only show commands are supported when using '
|
||||
'check mode, not executing `%s`' % item['command'])
|
||||
else:
|
||||
items.append(module.jsonify(item))
|
||||
items.append(item)
|
||||
|
||||
return items
|
||||
|
||||
|
||||
Reference in New Issue
Block a user