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:
Felix Fontein
2026-04-20 20:16:26 +02:00
committed by GitHub
parent 9ef1dbb6d5
commit 4fa82b9617
807 changed files with 2041 additions and 1702 deletions

View File

@@ -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,