Make all module_utils and plugin_utils private (#887)

* Add leading underscore. Remove deprecated module utils.

* Document module and plugin utils as private. Add changelog fragment.

* Convert relative to absolute imports.

* Remove unnecessary imports.
This commit is contained in:
Felix Fontein
2025-05-11 19:17:58 +02:00
committed by GitHub
parent f758d94fba
commit a5a4e022ba
146 changed files with 678 additions and 465 deletions

View File

@@ -129,10 +129,10 @@ csr:
import typing as t
from ansible_collections.community.crypto.plugins.module_utils.crypto.basic import (
from ansible_collections.community.crypto.plugins.module_utils._crypto.basic import (
OpenSSLObjectError,
)
from ansible_collections.community.crypto.plugins.module_utils.crypto.module_backends.csr import (
from ansible_collections.community.crypto.plugins.module_utils._crypto.module_backends.csr import (
get_csr_argument_spec,
select_backend,
)
@@ -140,7 +140,7 @@ from ansible_collections.community.crypto.plugins.module_utils.crypto.module_bac
if t.TYPE_CHECKING:
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.crypto.plugins.module_utils.crypto.module_backends.csr import (
from ansible_collections.community.crypto.plugins.module_utils._crypto.module_backends.csr import (
CertificateSigningRequestBackend,
)