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] 5c8504323e
ModuleHelper variables management (#2162) (#2178)
* added metadata for variables in module helper

* adjustments

* added separate support for tracking changes

* rewrote the diff code

* added integration test for module_helper

* using ansible.module_utils.common.dict_transformations.dict_merge

* improved dependency management

* restore ModuleHelper to base classes of CmdStateModuleHelper

* added assertions to ensure the failing module name appears in the error messages

* added test code for state-based modules

* fixed test name

* renamed class to VarMeta

* small fixes

* fixes from the PR

* fixed VarDict.__set_attr__

* added VarDict.__getitem__()

* added changelog fragment

* adjustments per PR

* ModuleHelper.output is now aware of conflicting variable names

* Update plugins/module_utils/module_helper.py

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

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

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2021-04-05 15:39:08 +02:00
..
compat sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
identity More false-positives (not flagged by sanity tests yet). (#2010) (#2016) 2021-03-13 13:48:18 +01:00
net_tools New module: Add Pritunl VPN user module (net_tools/pritunl/) (#803) (#2071) 2021-03-21 11:46:33 +01:00
oracle Mark non-secret leaking module options with no_log=False (#2001) (#2005) 2021-03-12 09:17:05 +01:00
remote_management sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02: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) (#1730) 2021-02-04 21:54:11 +01:00
_ovirt.py Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (#353) 2020-05-18 20:43:50 +01:00
alicloud_ecs.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
cloud.py Update CI (#1782) (#1787) 2021-02-11 11:10:42 +01:00
csv.py New Filter plugin from_csv (#2037) (#2074) 2021-03-21 13:56:32 +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) (#2070) 2021-03-21 13:22:14 +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 ipa module utils: BUGFIX ipa modules Cookie problem with Loadbalanced IPA and Python3 (… (#738) 2020-08-07 08:26:38 +02:00
known_hosts.py rewritten as list literals (#2160) (#2168) 2021-04-05 09:50:07 +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 ModuleHelper variables management (#2162) (#2178) 2021-04-05 15:39:08 +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) (#2111) 2021-03-26 07:47:38 +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 Add support for Redfish session create, delete, and authenticate (#2027) (#2053) 2021-03-22 18:27:25 +01: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) (#2042) 2021-03-18 23:32:01 +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) (#1891) 2021-02-24 19:36:37 +01:00
vexata.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
xenserver.py Initial commit 2020-03-09 09:11:07 +00:00