mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Refactor common network shared and platform utils code into package (#33452)
* Refactor common network shared and platform specific code into package (part-1) As per proposal #76 refactor common network shared and platform specific code into sub-package. https://github.com/ansible/proposals/issues/76 * ansible.module_utils.network.common - command shared functions * ansible.module_utils.network.{{ platform }} - where platform is platform specific shared functions * Fix review comments * Fix review comments
This commit is contained in:
@@ -74,7 +74,7 @@ rebooted:
|
||||
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.ce import execute_nc_action, ce_argument_spec
|
||||
from ansible.module_utils.network.cloudengine.ce import execute_nc_action, ce_argument_spec
|
||||
|
||||
try:
|
||||
from ncclient.operations.errors import TimeoutExpiredError
|
||||
|
||||
Reference in New Issue
Block a user