mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 03:46:55 +00:00
Make all doc fragments, module utils, and plugin utils private (#1144)
* Make all doc fragments, module utils, and plugin utils private. * Remove some unused and no longer needed imports. This hopefully also fixes the CI issues, which do not happen locally for me... * Fix formatting. * Try to make CI happy, again. * Fix imports. * Lint.
This commit is contained in:
@@ -17,12 +17,12 @@ description:
|
||||
- Essentially returns the output of C(docker node inspect <name>).
|
||||
- Must be executed on a host running as Swarm Manager, otherwise the module will fail.
|
||||
extends_documentation_fragment:
|
||||
- community.docker.docker
|
||||
- community.docker.docker.docker_py_1_documentation
|
||||
- community.docker.attributes
|
||||
- community.docker.attributes.actiongroup_docker
|
||||
- community.docker.attributes.info_module
|
||||
- community.docker.attributes.idempotent_not_modify_state
|
||||
- community.docker._docker
|
||||
- community.docker._docker.docker_py_1_documentation
|
||||
- community.docker._attributes
|
||||
- community.docker._attributes.actiongroup_docker
|
||||
- community.docker._attributes.info_module
|
||||
- community.docker._attributes.idempotent_not_modify_state
|
||||
|
||||
options:
|
||||
name:
|
||||
@@ -88,10 +88,10 @@ nodes:
|
||||
|
||||
import traceback
|
||||
|
||||
from ansible_collections.community.docker.plugins.module_utils.common import (
|
||||
from ansible_collections.community.docker.plugins.module_utils._common import (
|
||||
RequestException,
|
||||
)
|
||||
from ansible_collections.community.docker.plugins.module_utils.swarm import (
|
||||
from ansible_collections.community.docker.plugins.module_utils._swarm import (
|
||||
AnsibleDockerSwarmClient,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user