mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915)
* Support for network_cli plugin and tests * Fixed ansible-test * issues * Fixed Pylint warning * Fixed the sanity test errors * Fix YAMLlinter issue - removed blank spaces * Fixed Python 3 failures * Fixed the PEP8 issue * Fix sanity --test validate-modules * Reverted the changes to the doc fragments
This commit is contained in:
parent
1f544ed6cc
commit
2f46f8f944
51 changed files with 22371 additions and 160 deletions
|
@ -124,8 +124,7 @@ def load_config(module, commands):
|
|||
for command in to_list(commands):
|
||||
if command == 'end':
|
||||
continue
|
||||
cmd = {'command': command, 'prompt': WARNING_PROMPTS_RE, 'answer': 'yes'}
|
||||
rc, out, err = exec_command(module, module.jsonify(cmd))
|
||||
rc, out, err = exec_command(module, command)
|
||||
if rc != 0:
|
||||
module.fail_json(msg=to_text(err, errors='surrogate_or_strict'), command=command, rc=rc)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue