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
Alexei Znamensky d22dd5056e
module_helper.py Breakdown (#2393)
* 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>
2021-05-11 19:31:10 +02:00
..
identity Fix incorrect URL_REALMS in keycloak.py (#2335) 2021-04-26 07:01:43 +02:00
mh module_helper.py Breakdown (#2393) 2021-05-11 19:31:10 +02:00
net_tools New module: Add Pritunl VPN organization module (net_tools/pritunl/) (#804) 2021-04-08 22:37:06 +02:00
oracle Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
remote_management Migrating DellEMC collections from community.general collections (#1699) 2021-02-01 18:06:58 +01:00
source_control sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
storage sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00
_mount.py Remove ansible.posix dependency (#1157) 2020-10-28 12:57:00 +01:00
_netapp.py Add no_log to some module arguments (#1725) 2021-02-04 21:02:21 +01:00
alicloud_ecs.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
cloud.py Update CI (#1782) 2021-02-11 10:24:58 +01:00
csv.py New Filter plugin from_csv (#2037) 2021-03-21 13:21:54 +01:00
database.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
dimensiondata.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
gandi_livedns_api.py Add gandi_livedns module (#328) 2021-03-21 11:25:24 +01:00
gitlab.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
heroku.py Initial commit 2020-03-09 09:11:07 +00:00
hwc_utils.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
ibm_sa_utils.py Initial commit 2020-03-09 09:11:07 +00:00
influxdb.py InfluxDB_database: Make the path argument conditional on the InfluxDB version (#1126) 2020-11-06 09:12:00 +01:00
ipa.py Added modules ipa_otpconfig and ipa_otptoken (#2122) 2021-04-11 15:25:03 +02:00
known_hosts.py rewritten as list literals (#2160) 2021-04-05 09:22:06 +02:00
ldap.py Feature/ldap gssapi sasl authentication (#1595) 2021-01-27 08:15:38 +01:00
linode.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
lxd.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
manageiq.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
memset.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
module_helper.py module_helper.py Breakdown (#2393) 2021-05-11 19:31:10 +02:00
oneandone.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
oneview.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
online.py Initial commit 2020-03-09 09:11:07 +00:00
opennebula.py opennebula: add one_template module (#2046) 2021-03-26 07:24:24 +01:00
proxmox.py proxmox: create a common base (#1331) 2020-11-24 17:30:39 +01:00
pure.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
rax.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
redfish_utils.py modified redfish_config and idrac_redfish_config to skip incorrect attributes (#2334) 2021-05-11 19:30:09 +02:00
redhat.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
saslprep.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
scaleway.py fix: scaleway inventory pagination (#2036) 2021-03-18 23:06:56 +01:00
univention_umc.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
utm_utils.py fixed Python 3 keys() usage (#1861) 2021-02-23 23:19:27 +01:00
vexata.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
xenserver.py xenserver_guest - fixed validations (#2243) 2021-04-17 09:32:13 +02:00