From eac1dfdc788ebc70f47ebf97312f80ad691257f6 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 8 Jun 2021 13:00:19 +0200 Subject: [PATCH] Release 2.5.3. --- CHANGELOG.rst | 35 +++++++++ changelogs/changelog.yaml | 73 +++++++++++++++++++ .../1085-consul-acl-hcl-whitelist-update.yml | 2 - changelogs/fragments/2.5.3.yml | 1 - .../fragments/2126-consul_kv-pass-token.yml | 4 - .../2364-influxdb_user-first_user.yml | 5 -- .../2461-ovirt4-fix-configparser.yml | 3 - ...fluxdb_user-fix-multiple-no-privileges.yml | 2 - .../2510-jenkins_plugin_use_post_method.yml | 2 - .../2518-nmap-fix-cache-disabled.yml | 2 - ...ables_state-fix-initialization-command.yml | 6 -- .../2560-java_cert-pkcs12-alias-bugfix.yml | 2 - ...reduce-stormssh-searches-based-on-host.yml | 2 - ...2571-rhsm_release-fix-release_matcher.yaml | 2 - .../fragments/2579-redis-cache-ipv6.yml | 2 - ...0-netcup_dns-exception-no-message-attr.yml | 2 - ...b_user-fix-issue-introduced-in-PR#2499.yml | 2 - .../2634-terraform-switch-workspace.yml | 2 - ...2648-proxmox_kvm-fix-vmid-return-value.yml | 2 - ...ix-broken-query-of-async_status-result.yml | 6 -- ...-iptables_state-2700-async_status-call.yml | 4 - ...potency_on_adding_repo_with_releasever.yml | 5 -- changelogs/fragments/2731-mh-cmd-locale.yml | 3 - .../fragments/json_query_more_types.yml | 3 - 24 files changed, 108 insertions(+), 64 deletions(-) delete mode 100644 changelogs/fragments/1085-consul-acl-hcl-whitelist-update.yml delete mode 100644 changelogs/fragments/2.5.3.yml delete mode 100644 changelogs/fragments/2126-consul_kv-pass-token.yml delete mode 100644 changelogs/fragments/2364-influxdb_user-first_user.yml delete mode 100644 changelogs/fragments/2461-ovirt4-fix-configparser.yml delete mode 100644 changelogs/fragments/2499-influxdb_user-fix-multiple-no-privileges.yml delete mode 100644 changelogs/fragments/2510-jenkins_plugin_use_post_method.yml delete mode 100644 changelogs/fragments/2518-nmap-fix-cache-disabled.yml delete mode 100644 changelogs/fragments/2525-iptables_state-fix-initialization-command.yml delete mode 100644 changelogs/fragments/2560-java_cert-pkcs12-alias-bugfix.yml delete mode 100644 changelogs/fragments/2568-ssh_config-reduce-stormssh-searches-based-on-host.yml delete mode 100644 changelogs/fragments/2571-rhsm_release-fix-release_matcher.yaml delete mode 100644 changelogs/fragments/2579-redis-cache-ipv6.yml delete mode 100644 changelogs/fragments/2590-netcup_dns-exception-no-message-attr.yml delete mode 100644 changelogs/fragments/2614-influxdb_user-fix-issue-introduced-in-PR#2499.yml delete mode 100644 changelogs/fragments/2634-terraform-switch-workspace.yml delete mode 100644 changelogs/fragments/2648-proxmox_kvm-fix-vmid-return-value.yml delete mode 100644 changelogs/fragments/2671-fix-broken-query-of-async_status-result.yml delete mode 100644 changelogs/fragments/2711-fix-iptables_state-2700-async_status-call.yml delete mode 100644 changelogs/fragments/2722-zypper_repository-fix_idempotency_on_adding_repo_with_releasever.yml delete mode 100644 changelogs/fragments/2731-mh-cmd-locale.yml delete mode 100644 changelogs/fragments/json_query_more_types.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2a75cf9102..e3682a0f66 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,41 @@ Community General Release Notes This changelog describes changes after version 1.0.0. +v2.5.3 +====== + +Release Summary +--------------- + +Regular bugfix release. + +Bugfixes +-------- + +- consul_acl - update the hcl allowlist to include all supported options (https://github.com/ansible-collections/community.general/pull/2495). +- consul_kv lookup plugin - allow to set ``recurse``, ``index``, ``datacenter`` and ``token`` as keyword arguments (https://github.com/ansible-collections/community.general/issues/2124). +- influxdb_user - allow creation of admin users when InfluxDB authentication is enabled but no other user exists on the database. In this scenario, InfluxDB 1.x allows only ``CREATE USER`` queries and rejects any other query (https://github.com/ansible-collections/community.general/issues/2364). +- influxdb_user - fix bug where an influxdb user has no privileges for 2 or more databases (https://github.com/ansible-collections/community.general/pull/2499). +- influxdb_user - fix bug which removed current privileges instead of appending them to existing ones (https://github.com/ansible-collections/community.general/issues/2609, https://github.com/ansible-collections/community.general/pull/2614). +- iptables_state - call ``async_status`` action plugin rather than its module (https://github.com/ansible-collections/community.general/issues/2700). +- iptables_state - fix a 'FutureWarning' in a regex and do some basic code clean up (https://github.com/ansible-collections/community.general/pull/2525). +- iptables_state - fix a broken query of ``async_status`` result with current ansible-core development version (https://github.com/ansible-collections/community.general/issues/2627, https://github.com/ansible-collections/community.general/pull/2671). +- iptables_state - fix initialization of iptables from null state when adressing more than one table (https://github.com/ansible-collections/community.general/issues/2523). +- java_cert - fix issue with incorrect alias used on PKCS#12 certificate import (https://github.com/ansible-collections/community.general/pull/2560). +- jenkins_plugin - use POST method for sending request to jenkins API when ``state`` option is one of ``enabled``, ``disabled``, ``pinned``, ``unpinned``, or ``absent`` (https://github.com/ansible-collections/community.general/issues/2510). +- json_query filter plugin - avoid 'unknown type' errors for more Ansible internal types (https://github.com/ansible-collections/community.general/pull/2607). +- module_helper module utils - ``CmdMixin`` must also use ``LC_ALL`` to enforce locale choice (https://github.com/ansible-collections/community.general/pull/2731). +- netcup_dns - use ``str(ex)`` instead of unreliable ``ex.message`` in exception handling to fix ``AttributeError`` in error cases (https://github.com/ansible-collections/community.general/pull/2590). +- nmap inventory plugin - fix local variable error when cache is disabled (https://github.com/ansible-collections/community.general/issues/2512). +- ovir4 inventory script - improve configparser creation to avoid crashes for options without values (https://github.com/ansible-collections/community.general/issues/674). +- proxmox_kvm - fixed ``vmid`` return value when VM with ``name`` already exists (https://github.com/ansible-collections/community.general/issues/2648). +- redis cache - improved connection string parsing (https://github.com/ansible-collections/community.general/issues/497). +- rhsm_release - fix the issue that module considers 8, 7Client and 7Workstation as invalid releases (https://github.com/ansible-collections/community.general/pull/2571). +- ssh_config - reduce stormssh searches based on host (https://github.com/ansible-collections/community.general/pull/2568/). +- terraform - ensure the workspace is set back to its previous value when the apply fails (https://github.com/ansible-collections/community.general/pull/2634). +- xfconf - also use ``LC_ALL`` to enforce locale choice (https://github.com/ansible-collections/community.general/issues/2715). +- zypper_repository - fix idempotency on adding repository with ``$releasever`` and ``$basearch`` variables (https://github.com/ansible-collections/community.general/issues/1985). + v2.5.2 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index abead4890e..c802a63305 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1882,3 +1882,76 @@ releases: - 2454-detect_zfs_changed.yml - ovirt-fixup.yml release_date: '2021-05-11' + 2.5.3: + changes: + bugfixes: + - consul_acl - update the hcl allowlist to include all supported options (https://github.com/ansible-collections/community.general/pull/2495). + - consul_kv lookup plugin - allow to set ``recurse``, ``index``, ``datacenter`` + and ``token`` as keyword arguments (https://github.com/ansible-collections/community.general/issues/2124). + - influxdb_user - allow creation of admin users when InfluxDB authentication + is enabled but no other user exists on the database. In this scenario, InfluxDB + 1.x allows only ``CREATE USER`` queries and rejects any other query (https://github.com/ansible-collections/community.general/issues/2364). + - influxdb_user - fix bug where an influxdb user has no privileges for 2 or + more databases (https://github.com/ansible-collections/community.general/pull/2499). + - influxdb_user - fix bug which removed current privileges instead of appending + them to existing ones (https://github.com/ansible-collections/community.general/issues/2609, + https://github.com/ansible-collections/community.general/pull/2614). + - iptables_state - call ``async_status`` action plugin rather than its module + (https://github.com/ansible-collections/community.general/issues/2700). + - iptables_state - fix a 'FutureWarning' in a regex and do some basic code clean + up (https://github.com/ansible-collections/community.general/pull/2525). + - iptables_state - fix a broken query of ``async_status`` result with current + ansible-core development version (https://github.com/ansible-collections/community.general/issues/2627, + https://github.com/ansible-collections/community.general/pull/2671). + - iptables_state - fix initialization of iptables from null state when adressing + more than one table (https://github.com/ansible-collections/community.general/issues/2523). + - java_cert - fix issue with incorrect alias used on PKCS#12 certificate import + (https://github.com/ansible-collections/community.general/pull/2560). + - jenkins_plugin - use POST method for sending request to jenkins API when ``state`` + option is one of ``enabled``, ``disabled``, ``pinned``, ``unpinned``, or ``absent`` + (https://github.com/ansible-collections/community.general/issues/2510). + - json_query filter plugin - avoid 'unknown type' errors for more Ansible internal + types (https://github.com/ansible-collections/community.general/pull/2607). + - module_helper module utils - ``CmdMixin`` must also use ``LC_ALL`` to enforce + locale choice (https://github.com/ansible-collections/community.general/pull/2731). + - netcup_dns - use ``str(ex)`` instead of unreliable ``ex.message`` in exception + handling to fix ``AttributeError`` in error cases (https://github.com/ansible-collections/community.general/pull/2590). + - nmap inventory plugin - fix local variable error when cache is disabled (https://github.com/ansible-collections/community.general/issues/2512). + - ovir4 inventory script - improve configparser creation to avoid crashes for + options without values (https://github.com/ansible-collections/community.general/issues/674). + - proxmox_kvm - fixed ``vmid`` return value when VM with ``name`` already exists + (https://github.com/ansible-collections/community.general/issues/2648). + - redis cache - improved connection string parsing (https://github.com/ansible-collections/community.general/issues/497). + - rhsm_release - fix the issue that module considers 8, 7Client and 7Workstation + as invalid releases (https://github.com/ansible-collections/community.general/pull/2571). + - ssh_config - reduce stormssh searches based on host (https://github.com/ansible-collections/community.general/pull/2568/). + - terraform - ensure the workspace is set back to its previous value when the + apply fails (https://github.com/ansible-collections/community.general/pull/2634). + - xfconf - also use ``LC_ALL`` to enforce locale choice (https://github.com/ansible-collections/community.general/issues/2715). + - zypper_repository - fix idempotency on adding repository with ``$releasever`` + and ``$basearch`` variables (https://github.com/ansible-collections/community.general/issues/1985). + release_summary: Regular bugfix release. + fragments: + - 1085-consul-acl-hcl-whitelist-update.yml + - 2.5.3.yml + - 2126-consul_kv-pass-token.yml + - 2364-influxdb_user-first_user.yml + - 2461-ovirt4-fix-configparser.yml + - 2499-influxdb_user-fix-multiple-no-privileges.yml + - 2510-jenkins_plugin_use_post_method.yml + - 2518-nmap-fix-cache-disabled.yml + - 2525-iptables_state-fix-initialization-command.yml + - 2560-java_cert-pkcs12-alias-bugfix.yml + - 2568-ssh_config-reduce-stormssh-searches-based-on-host.yml + - 2571-rhsm_release-fix-release_matcher.yaml + - 2579-redis-cache-ipv6.yml + - 2590-netcup_dns-exception-no-message-attr.yml + - 2614-influxdb_user-fix-issue-introduced-in-PR#2499.yml + - 2634-terraform-switch-workspace.yml + - 2648-proxmox_kvm-fix-vmid-return-value.yml + - 2671-fix-broken-query-of-async_status-result.yml + - 2711-fix-iptables_state-2700-async_status-call.yml + - 2722-zypper_repository-fix_idempotency_on_adding_repo_with_releasever.yml + - 2731-mh-cmd-locale.yml + - json_query_more_types.yml + release_date: '2021-06-08' diff --git a/changelogs/fragments/1085-consul-acl-hcl-whitelist-update.yml b/changelogs/fragments/1085-consul-acl-hcl-whitelist-update.yml deleted file mode 100644 index 78db43da7d..0000000000 --- a/changelogs/fragments/1085-consul-acl-hcl-whitelist-update.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - consul_acl - update the hcl allowlist to include all supported options (https://github.com/ansible-collections/community.general/pull/2495). diff --git a/changelogs/fragments/2.5.3.yml b/changelogs/fragments/2.5.3.yml deleted file mode 100644 index 1b14bd80d1..0000000000 --- a/changelogs/fragments/2.5.3.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Regular bugfix release. diff --git a/changelogs/fragments/2126-consul_kv-pass-token.yml b/changelogs/fragments/2126-consul_kv-pass-token.yml deleted file mode 100644 index a60fd2efcd..0000000000 --- a/changelogs/fragments/2126-consul_kv-pass-token.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - consul_kv lookup plugin - allow to set ``recurse``, ``index``, ``datacenter`` and ``token`` as keyword arguments - (https://github.com/ansible-collections/community.general/issues/2124). diff --git a/changelogs/fragments/2364-influxdb_user-first_user.yml b/changelogs/fragments/2364-influxdb_user-first_user.yml deleted file mode 100644 index 905688643b..0000000000 --- a/changelogs/fragments/2364-influxdb_user-first_user.yml +++ /dev/null @@ -1,5 +0,0 @@ -bugfixes: - - influxdb_user - allow creation of admin users when InfluxDB authentication - is enabled but no other user exists on the database. In this scenario, - InfluxDB 1.x allows only ``CREATE USER`` queries and rejects any other query - (https://github.com/ansible-collections/community.general/issues/2364). diff --git a/changelogs/fragments/2461-ovirt4-fix-configparser.yml b/changelogs/fragments/2461-ovirt4-fix-configparser.yml deleted file mode 100644 index 6e3845b21a..0000000000 --- a/changelogs/fragments/2461-ovirt4-fix-configparser.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - ovir4 inventory script - improve configparser creation to avoid crashes for options without values (https://github.com/ansible-collections/community.general/issues/674). diff --git a/changelogs/fragments/2499-influxdb_user-fix-multiple-no-privileges.yml b/changelogs/fragments/2499-influxdb_user-fix-multiple-no-privileges.yml deleted file mode 100644 index d4575ea711..0000000000 --- a/changelogs/fragments/2499-influxdb_user-fix-multiple-no-privileges.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - influxdb_user - fix bug where an influxdb user has no privileges for 2 or more databases (https://github.com/ansible-collections/community.general/pull/2499). diff --git a/changelogs/fragments/2510-jenkins_plugin_use_post_method.yml b/changelogs/fragments/2510-jenkins_plugin_use_post_method.yml deleted file mode 100644 index b310e27061..0000000000 --- a/changelogs/fragments/2510-jenkins_plugin_use_post_method.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - jenkins_plugin - use POST method for sending request to jenkins API when ``state`` option is one of ``enabled``, ``disabled``, ``pinned``, ``unpinned``, or ``absent`` (https://github.com/ansible-collections/community.general/issues/2510). diff --git a/changelogs/fragments/2518-nmap-fix-cache-disabled.yml b/changelogs/fragments/2518-nmap-fix-cache-disabled.yml deleted file mode 100644 index 8f4680b6a6..0000000000 --- a/changelogs/fragments/2518-nmap-fix-cache-disabled.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - nmap inventory plugin - fix local variable error when cache is disabled (https://github.com/ansible-collections/community.general/issues/2512). diff --git a/changelogs/fragments/2525-iptables_state-fix-initialization-command.yml b/changelogs/fragments/2525-iptables_state-fix-initialization-command.yml deleted file mode 100644 index 552c0b26ab..0000000000 --- a/changelogs/fragments/2525-iptables_state-fix-initialization-command.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -bugfixes: - - "iptables_state - fix initialization of iptables from null state when adressing - more than one table (https://github.com/ansible-collections/community.general/issues/2523)." - - "iptables_state - fix a 'FutureWarning' in a regex and do some basic code clean up - (https://github.com/ansible-collections/community.general/pull/2525)." diff --git a/changelogs/fragments/2560-java_cert-pkcs12-alias-bugfix.yml b/changelogs/fragments/2560-java_cert-pkcs12-alias-bugfix.yml deleted file mode 100644 index 471962d74f..0000000000 --- a/changelogs/fragments/2560-java_cert-pkcs12-alias-bugfix.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "java_cert - fix issue with incorrect alias used on PKCS#12 certificate import (https://github.com/ansible-collections/community.general/pull/2560)." diff --git a/changelogs/fragments/2568-ssh_config-reduce-stormssh-searches-based-on-host.yml b/changelogs/fragments/2568-ssh_config-reduce-stormssh-searches-based-on-host.yml deleted file mode 100644 index 2f3e400e7e..0000000000 --- a/changelogs/fragments/2568-ssh_config-reduce-stormssh-searches-based-on-host.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - ssh_config - reduce stormssh searches based on host (https://github.com/ansible-collections/community.general/pull/2568/). diff --git a/changelogs/fragments/2571-rhsm_release-fix-release_matcher.yaml b/changelogs/fragments/2571-rhsm_release-fix-release_matcher.yaml deleted file mode 100644 index 764743303f..0000000000 --- a/changelogs/fragments/2571-rhsm_release-fix-release_matcher.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - rhsm_release - fix the issue that module considers 8, 7Client and 7Workstation as invalid releases (https://github.com/ansible-collections/community.general/pull/2571). diff --git a/changelogs/fragments/2579-redis-cache-ipv6.yml b/changelogs/fragments/2579-redis-cache-ipv6.yml deleted file mode 100644 index aaa5e78b34..0000000000 --- a/changelogs/fragments/2579-redis-cache-ipv6.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - redis cache - improved connection string parsing (https://github.com/ansible-collections/community.general/issues/497). diff --git a/changelogs/fragments/2590-netcup_dns-exception-no-message-attr.yml b/changelogs/fragments/2590-netcup_dns-exception-no-message-attr.yml deleted file mode 100644 index 06cac9ad1b..0000000000 --- a/changelogs/fragments/2590-netcup_dns-exception-no-message-attr.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - netcup_dns - use ``str(ex)`` instead of unreliable ``ex.message`` in exception handling to fix ``AttributeError`` in error cases (https://github.com/ansible-collections/community.general/pull/2590). diff --git a/changelogs/fragments/2614-influxdb_user-fix-issue-introduced-in-PR#2499.yml b/changelogs/fragments/2614-influxdb_user-fix-issue-introduced-in-PR#2499.yml deleted file mode 100644 index dfae3f2bdf..0000000000 --- a/changelogs/fragments/2614-influxdb_user-fix-issue-introduced-in-PR#2499.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - influxdb_user - fix bug which removed current privileges instead of appending them to existing ones (https://github.com/ansible-collections/community.general/issues/2609, https://github.com/ansible-collections/community.general/pull/2614). diff --git a/changelogs/fragments/2634-terraform-switch-workspace.yml b/changelogs/fragments/2634-terraform-switch-workspace.yml deleted file mode 100644 index 247447b3a8..0000000000 --- a/changelogs/fragments/2634-terraform-switch-workspace.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - terraform - ensure the workspace is set back to its previous value when the apply fails (https://github.com/ansible-collections/community.general/pull/2634). diff --git a/changelogs/fragments/2648-proxmox_kvm-fix-vmid-return-value.yml b/changelogs/fragments/2648-proxmox_kvm-fix-vmid-return-value.yml deleted file mode 100644 index 7971fc24eb..0000000000 --- a/changelogs/fragments/2648-proxmox_kvm-fix-vmid-return-value.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - proxmox_kvm - fixed ``vmid`` return value when VM with ``name`` already exists (https://github.com/ansible-collections/community.general/issues/2648). diff --git a/changelogs/fragments/2671-fix-broken-query-of-async_status-result.yml b/changelogs/fragments/2671-fix-broken-query-of-async_status-result.yml deleted file mode 100644 index 993caaa323..0000000000 --- a/changelogs/fragments/2671-fix-broken-query-of-async_status-result.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -bugfixes: - - "iptables_state - fix a broken query of ``async_status`` result - with current ansible-core development version - (https://github.com/ansible-collections/community.general/issues/2627, - https://github.com/ansible-collections/community.general/pull/2671)." diff --git a/changelogs/fragments/2711-fix-iptables_state-2700-async_status-call.yml b/changelogs/fragments/2711-fix-iptables_state-2700-async_status-call.yml deleted file mode 100644 index 8f94cf5178..0000000000 --- a/changelogs/fragments/2711-fix-iptables_state-2700-async_status-call.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - "iptables_state - call ``async_status`` action plugin rather than its module - (https://github.com/ansible-collections/community.general/issues/2700)." diff --git a/changelogs/fragments/2722-zypper_repository-fix_idempotency_on_adding_repo_with_releasever.yml b/changelogs/fragments/2722-zypper_repository-fix_idempotency_on_adding_repo_with_releasever.yml deleted file mode 100644 index faada2e9bf..0000000000 --- a/changelogs/fragments/2722-zypper_repository-fix_idempotency_on_adding_repo_with_releasever.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -bugfixes: - - zypper_repository - fix idempotency on adding repository with - ``$releasever`` and ``$basearch`` variables - (https://github.com/ansible-collections/community.general/issues/1985). diff --git a/changelogs/fragments/2731-mh-cmd-locale.yml b/changelogs/fragments/2731-mh-cmd-locale.yml deleted file mode 100644 index 607a7b89b7..0000000000 --- a/changelogs/fragments/2731-mh-cmd-locale.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - module_helper module utils - ``CmdMixin`` must also use ``LC_ALL`` to enforce locale choice (https://github.com/ansible-collections/community.general/pull/2731). - - xfconf - also use ``LC_ALL`` to enforce locale choice (https://github.com/ansible-collections/community.general/issues/2715). diff --git a/changelogs/fragments/json_query_more_types.yml b/changelogs/fragments/json_query_more_types.yml deleted file mode 100644 index 4ac69b67c0..0000000000 --- a/changelogs/fragments/json_query_more_types.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - json_query filter plugin - avoid 'unknown type' errors for more Ansible internal types (https://github.com/ansible-collections/community.general/pull/2607).