1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/module_utils
patchback[bot] 4cb6f39a80
module_helper.py Breakdown () ()
* break down of module_helper into smaller pieces, keeping compatibility

* removed abc.ABC (py3 only) from code + fixed reference to vars.py

* multiple changes:

- mh.base - moved more functionalities to ModuleHelperBase
- mh.mixins.(cmd, state) - CmdMixin no longer inherits from ModuleHelperBase
- mh.mixins.deps - DependencyMixin now overrides run() method to test dependency
- mh.mixins.vars - created class VarsMixin
- mh.module_helper - moved functions to base class, added VarsMixin
- module_helper - importing AnsibleModule as well, for backward compatibility in test

* removed unnecessary __all__

* make pylint happy

* PR adjustments + bot config + changelog frag

* Update plugins/module_utils/mh/module_helper.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/module_utils/mh/module_helper.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d22dd5056e)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2021-05-11 20:05:42 +02:00
..
compat
identity Fix incorrect URL_REALMS in keycloak.py () 2021-04-26 07:01:43 +02:00
mh module_helper.py Breakdown () () 2021-05-11 20:05:42 +02:00
net_tools New module: Add Pritunl VPN organization module (net_tools/pritunl/) () 2021-04-08 22:37:06 +02:00
oracle
remote_management
source_control
storage
__init__.py
_mount.py
_netapp.py
alicloud_ecs.py
cloud.py
csv.py New Filter plugin from_csv () 2021-03-21 13:21:54 +01:00
database.py
dimensiondata.py
gandi_livedns_api.py Add gandi_livedns module () 2021-03-21 11:25:24 +01:00
gitlab.py
heroku.py
hwc_utils.py
ibm_sa_utils.py
influxdb.py
ipa.py Added modules ipa_otpconfig and ipa_otptoken () 2021-04-11 15:25:03 +02:00
known_hosts.py rewritten as list literals () 2021-04-05 09:22:06 +02:00
ldap.py
linode.py
lxd.py
manageiq.py
memset.py
module_helper.py module_helper.py Breakdown () () 2021-05-11 20:05:42 +02:00
oneandone.py
oneview.py
online.py
opennebula.py opennebula: add one_template module () 2021-03-26 07:24:24 +01:00
proxmox.py
pure.py
rax.py
redfish_utils.py modified redfish_config and idrac_redfish_config to skip incorrect attributes () () 2021-05-11 20:05:24 +02:00
redhat.py
saslprep.py
scaleway.py
univention_umc.py
utm_utils.py
vexata.py
xenserver.py xenserver_guest - fixed validations () 2021-04-17 09:32:13 +02:00