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/changelogs/fragments
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
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
2135-vmadm-resolvers-type-fix.yml fix type information for vmadm.resolvers (#2136) (#2138) 2021-03-31 12:00:29 +02:00
2139-dimensiondata_network-str-format.yml fixed str formatting (#2139) (#2141) 2021-03-31 14:15:05 +02:00
2142-apache2_mod_proxy-cleanup.yml apache2_mod_proxy - minor improvements/fixes (#2142) (#2145) 2021-04-01 09:01:38 +02:00
2143-kibana_plugin-fixed-function-calls.yml kibana_plugin: fixed remove call + run_command with list instead of str (#2143) (#2149) 2021-04-02 22:25:57 +02:00
2144-atomic_get_bin_path.yml using get_bin_path() on atomic modules (#2144) (#2151) 2021-04-02 22:35:56 +02:00
2157-unreachable-code.yml removed unreachable code (#2157) (#2170) 2021-04-05 09:50:16 +02:00
2160-list-literals.yml rewritten as list literals (#2160) (#2168) 2021-04-05 09:50:07 +02:00
2161-pkgutil-list-extend.yml fixed calls to list.extend() (#2161) (#2166) 2021-04-04 23:59:59 +02:00
2162-modhelper-variables.yml ModuleHelper variables management (#2162) (#2178) 2021-04-05 15:39:08 +02:00
2163-java_keystore_1667_improve_temp_files_storage.yml java_keystore/fix 1667 improve temp files storage (#2163) (#2176) 2021-04-05 15:19:17 +02:00