mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Make all doc fragments, module utils, and plugin utils private (#11896)
* Make all doc fragments private. * Make all plugin utils private. * Make all module utils private. * Reformat. * Changelog fragment. * Update configs and ignores. * Adjust unit test names.
This commit is contained in:
@@ -22,7 +22,7 @@ requirements:
|
||||
- passlib (Python library, recommended), or legacycrypt on Python 3.13 or newer
|
||||
- It requires no dependency on Python 3.12 and earlier, but then it relies on the deprecated standard library C(crypt).
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
- community.general._attributes
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
@@ -322,7 +322,7 @@ from datetime import date, timedelta
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils import deps
|
||||
from ansible_collections.community.general.plugins.module_utils import _deps as deps
|
||||
|
||||
with deps.declare("crypt_context"):
|
||||
from ansible_collections.community.general.plugins.module_utils._crypt import CryptContext, has_crypt_context
|
||||
@@ -330,7 +330,7 @@ with deps.declare("crypt_context"):
|
||||
if not has_crypt_context:
|
||||
raise ImportError("Failed to import any of: passlib, crypt, legacycrypt")
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.univention_umc import (
|
||||
from ansible_collections.community.general.plugins.module_utils._univention_umc import (
|
||||
base_dn,
|
||||
ldap_search,
|
||||
umc_module_for_add,
|
||||
|
||||
Reference in New Issue
Block a user