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
Alexei Znamensky d2070277e8
ModuleHelper variables management (#2162)
* 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>
2021-04-05 15:19:13 +02:00
..
action Bump version to 2.0.0 (#1369) 2020-11-26 14:26:36 +01:00
become Add support for sudo su - using password auth (#2054) 2021-03-24 17:20:26 +01:00
cache fixed Python 3 keys() usage (#1861) 2021-02-23 23:19:27 +01:00
callback Callback plugin: Azure Log Analytics (#2091) 2021-03-30 12:12:26 +02:00
connection Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
doc_fragments fixed documentation for oneview modules (#2092) 2021-03-24 14:16:33 +01:00
filter New Filter plugin from_csv (#2037) 2021-03-21 13:21:54 +01:00
inventory Excluded qemu templates in pools (#1991) 2021-03-12 08:00:03 +01:00
lookup rewritten as list literals (#2160) 2021-04-05 09:22:06 +02:00
module_utils ModuleHelper variables management (#2162) 2021-04-05 15:19:13 +02:00
modules java_keystore/fix 1667 improve temp files storage (#2163) 2021-04-05 14:40:36 +02:00