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
steven jacobs 386bb4bdd5
Fix linode inventory filtering (#4336)
* Fix linode inventory filtering

There was a regression introduced in the addition of caching. The
`_consume_options` method was added and provided the `config_data`
dictionary. This `pop`s every entry, resulting in an empty `config_data`
dict, which was then reused and expected to be populated.

After reviewing, `_consume_data` doesn't need to be called. Also, once
the ``_read_config_data` method has been called, we no longer need the
config_data dict, and can instead use the `get_option` method throughout.

Once those were removed, the filtering function seemed a bit odd, since
we were no longer using the file. I used that opportunity to move the
filter calls into the populate function directly.

* Remove tests that target removed methods

This removes tests that targeted some custom methods on configuration
file handling. These are no longer necessary since they are now handled
by the BaseInventoryPlugin `_read_config_data` method.

* Add changelog entry for linode inventory bugfix

* Revert filters back to their own method

This moves filters back into their own method, but now uses the
get_option calls to pull filter configuration items.
2022-03-14 20:38:32 +01:00
..
.keep
705-gitlab-auth-support.yml Add additional auth support to Gitlab (#705) (#3918) 2021-12-20 21:59:12 +01:00
1088-add_multiple_ipv6_address_support.yml nmcli: adding ipv6 address list support (#3776) 2021-12-09 21:17:32 +01:00
1088-nmcli_add_multiple_addresses_support.yml nmcli: adding ipv6 address list support (#3776) 2021-12-09 21:17:32 +01:00
2386-github_repo-fix-idempotency-issues.yml
3295-mksysb-revamp.yaml mksysb - revamped module + fix bug in backup_dmapi_fs option (#3295) 2022-03-14 07:13:45 +01:00
3357-nmcli-eui64-and-ipv6privacy.yml nmcli - add support for addr-gen-mode and ip6-privacy options (#3802) 2021-12-04 18:41:14 +01:00
3374-add-ipa-ptr-sync-support.yml ipa_dnszone: add PTR synchronization support for dnszones (#3374) 2021-12-27 09:35:24 +01:00
3519-inventory-support-lxd-4.yml LXD inventory: Support virtual machines (#3519) 2021-12-13 22:01:52 +01:00
3625-nmcli_false_changed_mtu_fix.yml
3632-add-redfish-host-interface-config-support.yml
3660-a_module-tombstone.yml
3661-lxd_container-add-vm-support.yml
3667-ldap_search.yml
3675-xattr-handle-base64-values.yml
3681-lvol-fix-create.yml
3693-add-redfish-host-interface-info-support.yml
3694-gitlab-cleanup.yml
3702-ipmi-encryption-key.yml
3703-force-install-homebrew-cask.yml homebrew_cask: reinstall when force is install option (#4090) 2022-02-02 21:31:05 +01:00
3708-listen_ports_facts-add-ss-support.yml
3709-support-batch-mode.yml
3726-terraform-missing-parameters-planned-fix.yml
3758-pacman-add-stdout-stderr.yml
3765-extend-open_iscsi-with-rescan.yml
3768-nmcli_fix_changed_when_no_mask_set.yml
3780-add-keycloak-sssd-user-federation.yml
3785-python_requirements_info-versionless-op.yaml
3792-improve_gitlab_group_and_project.yml Moved changelog fragment file to the right directory (#3853) 2021-12-05 17:06:09 +01:00
3797-python_requirements_info-improvements.yaml python_requirements_info - improvements (#3797) 2021-11-30 06:08:45 +00:00
3798-fix-lxd-connection-option-vars-support.yml Update lxd connection to use all documented vars for options (#3798) 2021-12-09 21:18:39 +01:00
3800-pipx-include-apps.yaml pipx - fixed --include-apps bug (#3800) 2021-11-30 07:10:20 +01:00
3801-mh-deprecate-vardict-attr.yaml ModuleHelper - deprecate attribute VarDict (#3801) 2021-11-30 07:10:48 +01:00
3805-iso_extract-run_command-list.yaml iso_extract - invoke run_command passing list (#3805) 2021-11-30 06:04:55 +01:00
3806-xattr-run_command-list.yaml xattr - invoke run_command passing list (#3806) 2021-11-30 08:33:11 +01:00
3807-logentries-run_command-list.yaml
3808-logstash_plugin-run_command-list.yaml logstash_plugin - invoke run_command passing list (#3808) 2021-12-01 06:58:45 +01:00
3821-monit-run-list.yaml monit - invoke run_command passing list (#3821) 2021-12-02 07:50:02 +01:00
3822-ip_netns-run-list.yaml ip_netns - invoke run_command passing list (#3822) 2021-12-01 07:10:46 +01:00
3829-svc-run-list.yaml svc - invoke run_command passing list (#3829) 2021-12-01 13:18:38 +01:00
3833-aix_filesystem-run-list.yaml aix_filesystems - invoke run_command passing list (#3833) 2021-12-09 21:19:44 +01:00
3834-aix-lvg-run-list.yaml aix_lvg - invoke run_command passing list (#3834) 2021-12-09 21:20:12 +01:00
3835-java-cert-run-list.yaml java_cert - invoke run_command passing list (#3835) 2021-12-03 07:27:03 +01:00
3837-opentelemetry_plugin-honour_ignore_errors.yaml opentelemetry: honour ignore errors (#3837) 2021-12-04 19:00:07 +01:00
3838-jira-token.yaml jira - Add support for Bearer token auth (#3838) 2021-12-09 21:24:24 +01:00
3840-hponcfg-mh-revamp.yaml hponcfg - revamped the module using ModuleHelper (#3840) 2021-12-11 21:15:33 +01:00
3849-mh-check-mode-decos.yaml MH decorators - added decorators for check_mode (#3849) 2021-12-05 21:47:51 +01:00
3851-lxc-container-run-list.yaml lxc_container - invoke run_command passing list (#3851) 2021-12-09 22:02:43 +01:00
3862-interfaces-file-fix-dup-option.yaml interfaces_file - fixed dup options bug (#3862) 2021-12-07 21:54:54 +01:00
3867-jira-fix-body.yaml jira - fixed 'body' dict key error (#3867) 2021-12-17 21:47:10 +01:00
3874-proxmox-fix-onboot-param.yml proxmox - fixing onboot parameter causing module failure when not defined (#3874) 2021-12-14 06:46:49 +01:00
3875-icinga2-inv-fix.yml Icinga2 Inventory Plugin - Error handling and inventory name changer (#3906) 2021-12-18 20:06:30 +01:00
3896-nmcli_vlan_missing_options.yaml Pass missing vlan-related options (flags, ingress, egress) to nmcli (#3896) 2021-12-13 21:43:54 +01:00
3907-pacman-speedup.yml request for comments - pacman: speed up most operations when working with a package list (#3907) 2022-02-08 22:46:00 +01:00
3909-nrdp_fix_string_args_without_encoding.yaml Fix nrdp string arguments without an encoding (#3909) 2021-12-17 17:06:20 +01:00
3916-fix-vdo-options-type.yml vdo: Remove unused variable (#4163) 2022-02-07 20:12:44 +01:00
3919-xfconf-baseclass.yaml xfconf - using aggregated base class (#3919) 2021-12-19 14:17:17 +01:00
3921-add-counter-filter-plugin.yml Add counter filter (#3921) 2021-12-26 14:56:21 +01:00
3930-proxmox-add-clone.yaml proxmox: Add clone parameter (#3930) 2022-01-06 07:01:25 +01:00
3933-slack-charset-header.yaml slack - use UTF-8 charset in content-type header (#3933) 2022-01-03 19:23:27 +01:00
3934-distutils.yml Get rid of distutils.spawn and distutils.util (#3934) 2022-01-04 06:56:28 +01:00
3935-use-gitlab-instance-runner-to-create-runner.yml gitlab: use gitlab instance runner to create runner (#3965) 2022-01-31 05:58:00 +01:00
3936-distutils.version.yml Use vendored copy of distutils.version. (#3984) 2022-01-05 21:19:49 +01:00
3940_fix_contenttype_scaleway_user_data.yml fix scaleway_user_data (#3940) 2021-12-27 19:40:55 +01:00
3943-add-option-options-to-snap-module.yml Add option "options" to snap module (#3943) 2022-01-24 06:39:37 +01:00
3946-mattermost_attachments.yml Mattermost: Add sending of attachments (#3946) 2022-01-03 19:24:12 +01:00
3951-scaleway_compute_add_project_id.yml Add support of project id for scawelay_compute (#3951) 2021-12-28 15:03:14 +01:00
3964-scaleway_volume_add_region.yml [Bug] Scaleway The volume is created systematically on par1 (#3964) 2022-01-05 17:53:00 +01:00
3968-ipmi_power-add-machine-option.yaml ipmi_power: Add machine option to ensure the power state via the remote target address (#3968) 2022-01-08 16:03:51 +01:00
3976-fix-alternatives-parsing.yml fix alternatives parsing when they are part of a group (#3976) 2022-01-10 07:10:22 +01:00
3980-puppet-show_diff.yml puppet: Add documentation and remove deprecation for show_diff, keep deprecation for alias show-diff (#3980) 2022-01-10 07:08:17 +01:00
3985-nmcli-add-wireguard-connection-type.yml nmcli: Add wireguard connection type support (#3985) 2022-01-08 14:13:50 +01:00
3988-distutils-vendor-removed.yml Unvendor distutils.version (#3988) 2022-01-08 21:45:02 +01:00
4026-fix-mail-callback.yml Fix exception in the mail callback plugin (#4026) 2022-01-20 08:31:09 +01:00
4029-proxmox-refactor.yml Refactor all Proxmox modules to use shared module_utils. (#4029) 2022-02-07 06:21:24 +01:00
4030-proxmox-has-proxmoxer.yml Move Proxmox HAS_PROXMOXER check into module_utils. (#4030) 2022-01-16 20:13:47 +01:00
4036-onevm-add-release-action.yaml one_vm: add release action (#4036) 2022-01-24 19:52:32 +01:00
4038-fix-and-rework-gitlb-project-variable.yml Fix and rework gitlab_project_variable (#4038) 2022-01-31 20:00:37 +01:00
4039-cluster-container-wait.yml Adding while loop to wait for cluster container creation (#4039) 2022-01-28 07:08:52 +01:00
4040-linode-token-templating.yaml linode: Allow templating token for dynamic inventory (#4040) 2022-01-30 22:16:59 +01:00
4043-fix-no-log-opentelemetry.yml opentelemetry: no_log:true causes exception when generating trace (#4043) 2022-01-17 18:50:19 +01:00
4048-expand-tilde-in-yarn-global-install-folder.yaml Actually expand ~ in yarn global install folder (#4048) 2022-01-28 07:17:06 +01:00
4049-profile-for-scaleway-inventory.yml Add profile parameter for scaleway inventory (#4049) 2022-01-31 19:33:35 +01:00
4050-properly-parse-json-lines-output-from-yarn.yaml Properly parse JSON Lines output from yarn (#4050) 2022-01-28 07:13:08 +01:00
4052-fix-detection-of-installed-cargo-packages-with-hyphens.yaml Fix detection of installed cargo packages with hyphens in name (#4052) 2022-01-18 12:12:48 +01:00
4056-add-missing-mail-headers.yml mail: add Date and Message-ID headers (#4056) 2022-01-21 07:27:20 +01:00
4058-lists_mergeby-add-parameters.yml Add options to filter lists_mergeby (#4058) 2022-01-28 08:19:19 +01:00
4061-fix-mail-recipient-encoding.yml mail: fix the encoding of the mail senders and recipients name (#4061) 2022-02-18 21:58:46 +01:00
4062-nmcli-ipv6-routes-support.yml Add nmcli support for IPv6 routes (#4062) 2022-01-23 13:02:03 +01:00
4068-add-include_file-option.yml [inventory/cobbler] Add include_profiles option (#4068) 2022-01-31 05:57:09 +01:00
4078-python_requirements_info.yaml python_requirements_info: don't overwrite results in 'mismatched' dict key (#4078) 2022-01-29 15:30:07 +01:00
4086-rework_of_gitlab_proyect_variable_over_gitlab_group_variable.yml Rework of gitlab_project_variable over gitlab_group_variable (#4086) 2022-02-18 20:58:38 +01:00
4088-add-constructed-interface-for-icinga2-inventory.yml Added new feature for ansible_user and ansible_port in Icinga2 inventory source (#4088) 2022-01-31 19:50:08 +01:00
4092-fix_local_ports_regex_listen_ports_facts.yaml Fix local port regex in listen_ports_facts (#4092) 2022-01-31 19:33:11 +01:00
4104-opentelemetry_plugin-enrich_docker_login.yaml opentelemetry: enrich service for community.docker.docker_login (#4104) 2022-01-29 15:13:36 +01:00
4105-opentelemetry_plugin-enrich_jira_hetzner_jenkins_services.yaml opentelemetry: enrich services for jenkins, hetzner or jira (#4105) 2022-02-12 09:31:00 +01:00
4106-proxmox-efidisk0-support.yaml [modules/cloud/misc/proxmox_kvm] Adding EFI disk support (#4106) 2022-02-16 22:32:57 +01:00
4108-nmcli-support-modifcation-without-type-param.yml Remove nmcli modify dependency on type parameter (#4108) 2022-03-06 08:56:44 +01:00
4136-gitlab_runner-make-project-owned-mutually-exclusive.yml gitlab_runner: Make owned and project mutually exclusive (#4136) 2022-02-16 22:54:46 +01:00
4140-mail-callback-options.yml mail callback: fully use Ansible's option handling; deprecate not specifying sender (#4140) 2022-02-01 10:12:03 +01:00
4150-gitlab-project-variable-absent-fix.yml gitlab_project_variable: Allow delete without value (#4150) 2022-02-05 21:02:04 +01:00
4151-dconf-catch-psutil-nosuchprocess.yaml dconf: Skip processes that disappeared while we inspected them (#4153) 2022-02-10 07:15:37 +01:00
4154-ini_file_changed.yml ini_file: Don't report changed=true when removing if nothing is changed. (#4155) 2022-02-17 13:35:46 +01:00
4168-add-keycloak-url-timeout.yml Updated keycloak.py to allow defining connection timeout value (#4168) (#4178) 2022-02-14 19:43:17 +01:00
4179-linode-inventory-cache.yaml feat: support cache in Linode inventory (#4179) 2022-02-18 23:15:29 +01:00
4183-fix-yum_versionlock.yaml yum_versionlock: Fix entry matching (#4183) 2022-02-18 21:07:09 +01:00
4191-proxmox-add-win11.yml proxmox_kvm: add win11 to ostype (#4191) 2022-02-12 17:44:20 +01:00
4192-improve-passwordstore-consistency.yml passwordstore: Prevent using path as password (#4192) 2022-02-17 20:58:36 +01:00
4192-zypper-add-clean-deps.yml zypper: support automatic removal of orphaned dependencies (#4195) 2022-02-28 19:29:34 +01:00
4194-configurable-passwordstore-locking.yml passwordstore: Add configurable locking (#4194) 2022-02-21 21:14:17 +01:00
4206-imc-rest-module.yaml Fix module failure due to itertools.izip_longest (#4211) 2022-02-20 09:40:56 +01:00
4207-add-redis-tls-support.yml Add tls parameter to redis module (#4207) 2022-03-11 06:54:38 +01:00
4212-fixes-for-keycloak-user-federation.yml Fixes for keycloak_user_federation (#4212) 2022-02-22 09:23:44 +01:00
4219-passwordstore-locale-fix.yml passwordstore: Fix error detection for non-English locales (#4219) 2022-02-17 22:00:02 +01:00
4223-syslog-json-skip-syslog-option.yml [plugins/callback/syslog_json.py] use v2 api, add option to skip sysl… (#4223) 2022-03-03 07:33:29 +01:00
4232-text-converter-import.yml Fix some more instances of ansible.module_utils._text. (#4232) 2022-02-18 23:14:51 +01:00
4240-ansible_galaxy_install-no_deps.yml ansible_galaxy_install: added no_deps option (#4240) 2022-02-22 08:59:04 +01:00
4275-pacman-sysupgrade.yml pacman: fix upgrade: yes (#4275) 2022-02-23 17:24:14 +01:00
4281-terraform-complex-variables.yml Allow complex values in variables parameter of terraform module (#4281) 2022-03-10 21:38:29 +01:00
4286-pacman-url-pkgs.yml pacman: re-adding support for URL based pkgs (#4286) 2022-03-01 06:03:18 +01:00
4287-fix-proxmox-vm-chek.yml Fix error when checking if Proxmox VM exists. (#4287) 2022-03-04 07:31:24 +01:00
4288-fix-4259-support-busybox-dd.yml filesize: fix alpine linux sparse file (#4288) 2022-02-27 13:45:41 +01:00
4299-npm-add-production-with-ci-flag.yml npm: add support for production flag when using ci (#4299) 2022-03-10 21:37:44 +01:00
4303-pipx-editable.yml pipx: added options editable and pip_args (#4303) 2022-03-02 22:16:47 +01:00
4304-jira-fields-in-comment.yml jira: Use fields in comment to merge in additional data (#4304) 2022-03-12 07:30:28 +01:00
4306-proxmox-fix-error-on-vm-clone.yml proxmox: Fix error on VM clone (#4278) (#4306) 2022-03-07 07:45:19 +01:00
4312-pacman-groups.yml pacman: user --groups instead of --group (#4312) 2022-03-04 19:25:42 +01:00
4316-pacman-remove-nosave.yml pacman: add support for remove_nosave (#4316) 2022-03-08 07:21:40 +01:00
4318-pacman-restore-old-changed-behavior.yml pacman: don't always return changed w/ update_cache (#4318) 2022-03-06 21:38:33 +01:00
4330-pacman-packages-update_cache.yml pacman: improve docs, make sure that packages is always returned, deprecate update_cache behavior (#4330) 2022-03-11 06:54:05 +01:00
4336-linode-inventory-filtering.yaml Fix linode inventory filtering (#4336) 2022-03-14 20:38:32 +01:00