mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
vyos and ios cliconf plugin refactor (#41846)
* vyos and ios cliconf plugin refactor * Refactor vyos cliconf plugin * Change vyos module_utils and vyos_config as per refactor * Minor changes in ios cliconf plugin * Fix unit test failure * Fix sanity issues * Add get_diff to rpc list
This commit is contained in:
parent
9c5d40ff15
commit
773c031d33
8 changed files with 285 additions and 101 deletions
|
@ -166,6 +166,7 @@ def load_config(module, commands):
|
|||
connection = get_connection(module)
|
||||
|
||||
try:
|
||||
return connection.edit_config(commands)
|
||||
diff, response = connection.edit_config(commands)
|
||||
return response
|
||||
except ConnectionError as exc:
|
||||
module.fail_json(msg=to_text(exc))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue