mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
457cf49868
* univention: add common code for univention corporate server modules * univention: try import only univention specific libraries * Code Review with @2-B, slight API changes and refactoring. * Added module documentation overview, describing the provided functions * Moved module-global objects into getter functions, so that we don't need to import possibly-unavailable univention modules at the module level. * Renamed some exports for improved consistency: - module_name() -> module_by_name() - orig_ldap -> ldap_module() - ldap -> uldap() Note that this introduces slight API changes from the outside. Instead of directly accessing module properties, you now have module functions with the same name. Examples: - ansible.module_utils.univention.position_base_dn() - ansible.module_utils.univention.config_registry() - ansible.module_utils.univention.base_dn() - ansible.module_utils.univention.config() * module_utils univention: fix library * move module_utils from univention to univention_umc, because python import univention fails if library is called univention * univention_umc: fix intention * univention: change common code to BSD-2-clause |
||
---|---|---|
.. | ||
ansible |