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
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
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
620-consul_io-env-variables-conf-based.yml consul_io inventory script: fixes awx and python 3 kv_group (#620) 2021-03-04 07:45:05 +01:00
719-manageiq-resource_id.yml Extending manageiq modules with parameter resource_id (#719) 2021-03-08 06:56:34 +01:00
720-cloudforms_inventory.yml Bugfix/manageiq inventory (#720) 2021-03-04 07:51:39 +01:00
816-only-invocate-feature-when-variable-is-set.yml only set param features when variable is not empty (#1763) 2021-02-10 22:07:27 +01:00
948-dellemc-migration-removal.yml Migrating DellEMC collections from community.general collections (#1699) 2021-02-01 18:06:58 +01:00
1475-xfconf-facts.yml xfconf: feature flag to disable facts and deprecation warning (#1747) 2021-02-10 19:42:40 +01:00
1478-filesystem-fix-1457-resizefs-idempotency.yml module filesystem: partially fix idempotency issue #1457 (resizefs) (#1478) 2021-02-03 07:54:04 +01:00
1596-xfs_quota-feedback_on_projects_not_initialized_has_changed.yml bugfix: xfs_quota feedback on projects not initialized has changed (#1596) 2021-02-27 08:38:24 +01:00
1661-gitlab-deploy-key-update-pubkey.yml Feature/gitlab deploykey updkey (#1661) 2021-02-05 07:30:05 +01:00
1691-add-name-and-id-props-to-redfish-inventory-output.yml Add Name and/or Id properties to resource inventory output (#1691) 2021-01-29 07:17:57 +01:00
1695-parted-updatedregex.yaml parted: fix regex for version match and partition size output (#1695) 2021-02-05 07:21:57 +01:00
1702_homebrew_tap.yml homebrew_tap: Add support for brew search path (#1708) 2021-02-01 08:42:32 +01:00
1703-sensu_silence-fix_json_parsing.yml sensu-silence: fix json parsing of sensu API response (#1703) 2021-02-02 17:45:14 +01:00
1714-gitlab_runner-required-reg-token.yml Implemented fix pointed in issue (#1760) 2021-02-14 15:08:32 +01:00
1715-proxmox_kvm-add-vmid-to-returns.yml Added VMID to all returns (#1715) 2021-02-15 07:27:43 +00:00
1721-fix-nomad_job_info-no-jobs-failure.yml Fix undeclared result for nomad_job_info module (#1721) 2021-02-15 07:27:33 +00:00
1722_timezone.yml timezone: add gentoo and alpine linux support (#1722) 2021-02-10 19:44:09 +01:00
1723-datadog_monitor-add-missing-monitor-types.yml datadog_monitor: Add missing monitor types query alert, trace-analytics alert, rum alert (#1723) 2021-02-05 07:22:49 +01:00
1724-various-fixes-for-updating-existing-gitlab-user.yml Various fixes for updating existing gitlab users (#1724) 2021-02-09 10:29:13 +01:00
1735-imc-sessions.yml Fixed imc_rest session logout (#1743) 2021-02-21 17:53:30 +01:00
1740-aerospike_migration.yml Fix typo in aerospike_migration module. (#1740) 2021-02-11 07:04:45 +01:00
1741-use-path-argspec.yml Change type str -> path in argspec. (#1741) 2021-02-12 07:58:30 +01:00
1744-case-insensitive-hostname-fqdn-matching.yml redfish module_utils: case insesitive search for situations where the hostname/FQDN on iLO is in caps (#1744) 2021-02-10 19:47:09 +01:00
1753-document-fstypes-supported-by-resizefs.yml document what filesystem types are supported by 'resizefs' option (#1753) 2021-02-10 03:50:43 -08:00
1761-redfish-tidy-up-validation.yml Removed parameter-list-no-elements validation errors from redfish modules (#1761) 2021-02-12 06:47:23 +01:00
1765-proxmox-params.yml Improved parameter handling on proxmox modules (#1765) 2021-02-12 13:01:52 +01:00
1766-zfs-fixed-sanity.yml Tidy up validation for storage/zfs modules (#1766) 2021-02-15 07:16:08 +01:00
1771-centurylink-validation-elements.yml Tidy up validate-modules ignores for cloud/centurylink modules (#1771) 2021-02-13 12:14:06 +01:00
1776-git_config-tilde_value.yml Prevented the expansion of parameters in run_command() (#1794) 2021-02-12 06:13:05 +01:00
1783-proxmox-kvm-fix-args-500-error.yaml proxmox_kvm: 500 error args parameter (#1783) 2021-02-15 22:40:51 +01:00
1788-ease-nios_host_record-dns-bypass-check.yml ease limitation for nios_host_record DNS Bypass (#1788) 2021-02-15 08:29:04 +01:00
1795-list-elements-batch1.yml Tidy up validate-modules:parameter-list-no-elements (batch 1) (#1795) 2021-02-16 07:11:37 +01:00
1813-lxd_profile-merge-profiles.yml Previously LXD profiles were overwritten, now these are merged. (#1813) 2021-02-16 07:15:50 +01:00
1814-dnsimple-add-support-for-caa-records.yml dnsimple: Add support for CAA records (#1814) 2021-02-16 07:15:19 +01:00
1819-tidyup-pylint-blacklistnames.yml Tidy up all pylint:blacklisted-name ignore lines (#1819) 2021-02-16 08:03:51 +01:00
1830-valmod_docmissingtype_batch1.yml Tidy up validations + bug fixes + deprecations (#1830) 2021-02-16 09:27:24 +01:00
1833-zfs-creation-only-properties.yaml zfs: avoid errors with creation-only properties (#1833) 2021-03-04 07:47:45 +01:00
1838-runit-deprecate-param-dist.yml runit - deprecate param dist (#1838) 2021-02-16 21:45:25 +01:00
1847-proxmox-kvm-fix-status.yml proxmox_kvm: fix undefined local variable status (#1847) 2021-02-17 21:25:05 +01:00
1852-deploy-helper-fix-state-is-clean-without-release.yaml deploy_helper: fix a bug when not defining release on state=clean (#1859) 2021-02-22 09:12:21 +01:00
1861-python3-keys.yml fixed Python 3 keys() usage (#1861) 2021-02-23 23:19:27 +01:00
1867-modhelper-cmdmixin-dict-params.yml Improved ModuleHelper.run_command() (#1867) 2021-02-28 15:06:36 +01:00
1871-infoblox-inventory.yml Improve infoblox inventory script dependencies. (#1871) 2021-02-21 21:11:54 +01:00
1880-fix_cobbler_system_ssl.yml cobbler_sync cobbler_system fix TLS check when validate_certs (#1880) 2021-02-25 14:55:45 +01:00
1882-fix-nmcli-ensure-slave-type-for-bond-slave.yml Fix: nmcli - Ensure slave-type for bond-slave (#1882) 2021-03-04 07:49:38 +01:00
1885-sanity-check-fixes-batch3.yml Tidy up sanity checks (2021/Batch 3 - who's counting) (#1885) 2021-02-26 11:37:23 +01:00
1894-feat-nmcli-add-method4-and-method6.yml Feat: nmcli - Add method4 and method6 (#1894) 2021-03-02 12:46:21 +01:00
1895-proxmox-kvm-fix-issue-1875.yml proxmox_kvm: trivial patch for github issue #1875 (#1895) 2021-02-25 12:34:53 +01:00
1912-yum_versionlock-lock_unlock_concurrently.yml yum_versionlock: do lock/unlock concurrently (#1912) 2021-02-26 23:16:40 +01:00
1914-add-sanitization-to-url.yml Proxmox inventory: Add some sanitization to url parameter (#1914) 2021-02-27 17:06:00 +01:00
1916-add-version-sort-filter.yml Add version_sort filter to properly sort list of versions (#1916) 2021-02-27 17:42:45 +01:00
1927-removed-parameter-invalid.yml Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) 2021-03-05 08:17:36 +01:00
1928-bigpanda-message.yml Actually use option. (#1928) 2021-02-27 21:23:07 +01:00
1929-grove-message.yml grove: message -> message_content (#1929) 2021-02-27 21:23:14 +01:00
1949-proxmox-inventory-tags.yml Allow tags strings containing commas in proxmox inventory plug-in (#1949) 2021-03-11 22:08:11 +01:00
1970-valmod-batch7.yml Tidy up sanity checks ignore lines modules (batch 7) (#1970) 2021-03-08 08:35:09 +01:00
1972-ini_file-empty-str-value.yml ini_file - allows adding empty string as a value (#1972) 2021-03-08 06:57:40 +01:00
1977-jenkinsjob-validate-certs.yml jenkins_job - added validate_certs parameter, setting the PYTHONHTTPSVERIFY env var (#1977) 2021-03-11 22:06:57 +01:00
1991-proxmox-inventory-fix-template-in-pool.yml Excluded qemu templates in pools (#1991) 2021-03-12 08:00:03 +01:00
1999-proxmox-fix-issue-1955.yml Remove password requirement when creating lxc containers (#1999) 2021-03-12 19:17:41 +01:00
2000-proxmox_kvm-tag-support.yml Adding tags as module parameter to proxmox_kvm (#2000) 2021-03-15 13:39:23 +01:00
2001-no_log-false.yml Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
2006-valmod-batch8.yml Tidy up sanity checks ignore lines modules (batch 8) (#2006) 2021-03-14 10:53:49 +01:00
2013-proxmox-purge-parameter.yml Adding purge parameter to proxmox for use with lxc delete requests (#2013) 2021-03-19 19:18:05 +01:00
2014-allow-root-for-kibana-plugin.yaml allow passing the --allow-root flag to kibana_plugin module (#2014) 2021-03-15 13:35:34 +01:00
2020-remove-unused-param-in-rax.yml rax - removed service parameter (#2020) 2021-03-14 12:22:03 +01:00
2024-module-helper-fixes.yml Improvements and fixes to ModuleHelper, with (some) tests. (#2024) 2021-03-17 13:39:49 +01:00
2027-add-redfish-session-create-delete-authenticate.yml Add support for Redfish session create, delete, and authenticate (#2027) 2021-03-19 13:14:33 -07:00
2031-ipa_sudorule_add_runasextusers.yml ipa_sudorule add support for setting runasextusers (#2031) 2021-03-21 11:09:49 +01:00
2032-one_image-pyone.yml opennebula: port one_image to pyone (#2032) 2021-03-24 07:32:12 +01:00
2036-scaleway-inventory.yml fix: scaleway inventory pagination (#2036) 2021-03-18 23:06:56 +01:00
2037-add-from-csv-filter.yml New Filter plugin from_csv (#2037) 2021-03-21 13:21:54 +01:00
2040-fix-index-error-in-redfish-set-manager-nic.yml Fix IndexError in SetManagerNic (#2040) 2021-03-19 19:06:57 +01:00
2057-nios-devel.yml Fix nios modules to work with ansible-core 2.11 (#2057) 2021-03-20 13:45:42 +01:00
2061-archive-refactor1.yml archive - a first refactoring (#2061) 2021-03-21 11:12:41 +01:00
2065-snmp-facts-timeout.yml snmp_facts - added timeout and retries params to module (#2065) 2021-03-21 11:37:12 +01:00
2072-stacki-host-params-fallback.yml stacki_host - configured params to use fallback instead of default (#2072) 2021-03-21 13:56:41 +01:00
2094-bugfix-respect-PATH-env-variable-in-zypper-modules.yaml Bugfix: Respect PATH env variable in zypper modules (#2094) 2021-03-25 22:30:35 +01:00
2110-vdo-add_force_option.yaml vdo: add force option (#2110) 2021-03-27 15:13:53 +01:00
2125-git-config-scope-file.yml git_config - fixed bug with scope file (#2125) 2021-03-30 08:24:08 +02:00
2135-vmadm-resolvers-type-fix.yml fix type information for vmadm.resolvers (#2136) 2021-03-31 09:25:28 +00:00
2139-dimensiondata_network-str-format.yml fixed str formatting (#2139) 2021-03-31 13:05:40 +02:00
2142-apache2_mod_proxy-cleanup.yml apache2_mod_proxy - minor improvements/fixes (#2142) 2021-04-01 07:50:24 +02:00
2143-kibana_plugin-fixed-function-calls.yml kibana_plugin: fixed remove call + run_command with list instead of str (#2143) 2021-04-02 22:05:28 +02:00
2144-atomic_get_bin_path.yml using get_bin_path() on atomic modules (#2144) 2021-04-02 22:06:07 +02:00
2157-unreachable-code.yml removed unreachable code (#2157) 2021-04-05 09:22:28 +02:00
2160-list-literals.yml rewritten as list literals (#2160) 2021-04-05 09:22:06 +02:00
2161-pkgutil-list-extend.yml fixed calls to list.extend() (#2161) 2021-04-04 23:38:59 +02:00
2162-modhelper-variables.yml ModuleHelper variables management (#2162) 2021-04-05 15:19:13 +02:00
2163-java_keystore_1667_improve_temp_files_storage.yml java_keystore/fix 1667 improve temp files storage (#2163) 2021-04-05 14:40:36 +02:00
CVE-2021-20191_no_log.yml Add no_log to some module arguments (#1725) 2021-02-04 21:02:21 +01:00
meta-runtime-deprecations.yml Improve meta/runtime.yml deprecation messages. (#1918) 2021-02-26 21:35:53 +01:00
no_log-fixes.yml Fix a bunch of potential security issues (secret leaking) (#1736) 2021-02-08 16:33:18 +01:00
remove-deprecated-features.yml Remove deprecated features scheduled for removal in 3.0.0 (#1926) 2021-03-09 21:23:20 +01:00
selective-core-2.11.yml Make selective callback work with ansible-core 2.11. (#1807) 2021-02-13 11:09:40 +01:00