From 77f64cc56da539d5f1987af46451a2f53c566775 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 25 Feb 2024 20:59:39 +0100 Subject: [PATCH] Release 7.5.5. --- CHANGELOG.md | 112 +++++++++++------- CHANGELOG.rst | 19 +++ changelogs/changelog.yaml | 38 ++++++ changelogs/fragments/7.5.5.yml | 1 - .../fragments/7717-prevent-modprobe-error.yml | 2 - .../7881-fix-keycloak-client-ckeckmode.yml | 2 - .../7919-onepassword-fieldname-casing.yaml | 2 - .../7951-fix-redfish_info-exception.yml | 2 - .../7970-fix-cargo-path-idempotency.yaml | 10 -- ...dfish-get-update-status-empty-response.yml | 2 - changelogs/fragments/pkgin.yml | 2 - 11 files changed, 124 insertions(+), 68 deletions(-) delete mode 100644 changelogs/fragments/7.5.5.yml delete mode 100644 changelogs/fragments/7717-prevent-modprobe-error.yml delete mode 100644 changelogs/fragments/7881-fix-keycloak-client-ckeckmode.yml delete mode 100644 changelogs/fragments/7919-onepassword-fieldname-casing.yaml delete mode 100644 changelogs/fragments/7951-fix-redfish_info-exception.yml delete mode 100644 changelogs/fragments/7970-fix-cargo-path-idempotency.yaml delete mode 100644 changelogs/fragments/8003-redfish-get-update-status-empty-response.yml delete mode 100644 changelogs/fragments/pkgin.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 8807e07313..70de35b381 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,70 +1,73 @@ # Community General Release Notes **Topics** -- v7\.5\.4 +- v7\.5\.5 - Release Summary - Bugfixes -- v7\.5\.3 +- v7\.5\.4 - Release Summary - Bugfixes -- v7\.5\.2 +- v7\.5\.3 - Release Summary - - Minor Changes - Bugfixes -- v7\.5\.1 +- v7\.5\.2 - Release Summary + - Minor Changes - Bugfixes -- v7\.5\.0 +- v7\.5\.1 - Release Summary + - Bugfixes +- v7\.5\.0 + - Release Summary - Minor Changes - Deprecated Features - - Bugfixes + - Bugfixes - New Modules - v7\.4\.0 - - Release Summary + - Release Summary - Minor Changes - - Bugfixes + - Bugfixes - New Modules - v7\.3\.0 - - Release Summary + - Release Summary - Minor Changes - Deprecated Features - - Bugfixes -- v7\.2\.1 - - Release Summary - Bugfixes -- v7\.2\.0 +- v7\.2\.1 - Release Summary + - Bugfixes +- v7\.2\.0 + - Release Summary - Minor Changes - Deprecated Features - - Bugfixes + - Bugfixes - New Plugins - Lookup - New Modules - v7\.1\.0 - - Release Summary + - Release Summary - Minor Changes - Deprecated Features - - Bugfixes + - Bugfixes - Known Issues - New Modules - v7\.0\.1 - - Release Summary - - Bugfixes -- v7\.0\.0 - Release Summary + - Bugfixes +- v7\.0\.0 + - Release Summary - Minor Changes - Breaking Changes / Porting Guide - Deprecated Features - Removed Features \(previously deprecated\) - - Bugfixes + - Bugfixes - New Plugins - Lookup - New Modules This changelog describes changes after version 6\.0\.0\. - -## v7\.5\.4 + +## v7\.5\.5 ### Release Summary @@ -74,6 +77,25 @@ Regular bugfix release\. ### Bugfixes +* cargo \- fix idempotency issues when using a custom installation path for packages \(using the \-\-path parameter\)\. The initial installation runs fine\, but subsequent runs use the get\_installed\(\) function which did not check the given installation location\, before running cargo install\. This resulted in a false changed state\. Also the removal of packeges using state\: absent failed\, as the installation check did not use the given parameter \([https\://github\.com/ansible\-collections/community\.general/pull/7970](https\://github\.com/ansible\-collections/community\.general/pull/7970)\)\. +* keycloak\_client \- fixes issue when metadata is provided in desired state when task is in check mode \([https\://github\.com/ansible\-collections/community\.general/issues/1226](https\://github\.com/ansible\-collections/community\.general/issues/1226)\, [https\://github\.com/ansible\-collections/community\.general/pull/7881](https\://github\.com/ansible\-collections/community\.general/pull/7881)\)\. +* modprobe \- listing modules files or modprobe files could trigger a FileNotFoundError if /etc/modprobe\.d or /etc/modules\-load\.d did not exist\. Relevant functions now return empty lists if the directories do not exist to avoid crashing the module \([https\://github\.com/ansible\-collections/community\.general/issues/7717](https\://github\.com/ansible\-collections/community\.general/issues/7717)\)\. +* onepassword lookup plugin \- failed for fields that were in sections and had uppercase letters in the label/ID\. Field lookups are now case insensitive in all cases \([https\://github\.com/ansible\-collections/community\.general/pull/7919](https\://github\.com/ansible\-collections/community\.general/pull/7919)\)\. +* pkgin \- pkgin \(pkgsrc package manager used by SmartOS\) raises erratic exceptions and spurious changed\=true \([https\://github\.com/ansible\-collections/community\.general/pull/7971](https\://github\.com/ansible\-collections/community\.general/pull/7971)\)\. +* redfish\_info \- allow for a GET operation invoked by GetUpdateStatus to allow for an empty response body for cases where a service returns 204 No Content \([https\://github\.com/ansible\-collections/community\.general/issues/8003](https\://github\.com/ansible\-collections/community\.general/issues/8003)\)\. +* redfish\_info \- correct uncaught exception when attempting to retrieve Chassis information \([https\://github\.com/ansible\-collections/community\.general/pull/7952](https\://github\.com/ansible\-collections/community\.general/pull/7952)\)\. + + +## v7\.5\.4 + + +### Release Summary + +Regular bugfix release\. + + +### Bugfixes + * homebrew \- detect already installed formulae and casks using JSON output from brew info \([https\://github\.com/ansible\-collections/community\.general/issues/864](https\://github\.com/ansible\-collections/community\.general/issues/864)\)\. * ipa\_otptoken \- the module expect ipatokendisabled as string but the ipatokendisabled value is returned as a boolean \([https\://github\.com/ansible\-collections/community\.general/pull/7795](https\://github\.com/ansible\-collections/community\.general/pull/7795)\)\. * ldap \- previously the order number \(if present\) was expected to follow an equals sign in the DN\. This makes it so the order number string is identified correctly anywhere within the DN \([https\://github\.com/ansible\-collections/community\.general/issues/7646](https\://github\.com/ansible\-collections/community\.general/issues/7646)\)\. @@ -83,12 +105,12 @@ Regular bugfix release\. ## v7\.5\.3 - + ### Release Summary Regular bugfix release\. - + ### Bugfixes * keycloak\_identity\_provider \- mappers processing was not idempotent if the mappers configuration list had not been sorted by name \(in ascending order\)\. Fix resolves the issue by sorting mappers in the desired state using the same key which is used for obtaining existing state \([https\://github\.com/ansible\-collections/community\.general/pull/7418](https\://github\.com/ansible\-collections/community\.general/pull/7418)\)\. @@ -99,7 +121,7 @@ Regular bugfix release\. ## v7\.5\.2 - + ### Release Summary Regular bugfix release\. @@ -109,7 +131,7 @@ Regular bugfix release\. * elastic callback plugin \- close elastic client to not leak resources \([https\://github\.com/ansible\-collections/community\.general/pull/7517](https\://github\.com/ansible\-collections/community\.general/pull/7517)\)\. - + ### Bugfixes * cloudflare\_dns \- fix Cloudflare lookup of SHFP records \([https\://github\.com/ansible\-collections/community\.general/issues/7652](https\://github\.com/ansible\-collections/community\.general/issues/7652)\)\. @@ -131,12 +153,12 @@ Regular bugfix release\. ## v7\.5\.1 - + ### Release Summary Regular bugfix release\. - + ### Bugfixes * composer \- fix impossible to run working\_dir dependent commands\. The module was throwing an error when trying to run a working\_dir dependent command\, because it tried to get the command help without passing the working\_dir \([https\://github\.com/ansible\-collections/community\.general/issues/3787](https\://github\.com/ansible\-collections/community\.general/issues/3787)\)\. @@ -158,7 +180,7 @@ Regular bugfix release\. ## v7\.5\.0 - + ### Release Summary Regular bugfix and feature release\. @@ -195,7 +217,7 @@ with major version 7 will be bugfix releases 7\.5\.y\. * The next major release\, community\.general 8\.0\.0\, will drop support for ansible\-core 2\.11 and 2\.12\, which have been End of Life for some time now\. This means that this collection no longer supports Python 2\.6 on the target\. Individual content might still work with unsupported ansible\-core versions\, but that can change at any time\. Also please note that from now on\, for every new major community\.general release\, we will drop support for all ansible\-core versions that have been End of Life for more than a few weeks on the date of the major release \([https\://github\.com/ansible\-community/community\-topics/discussions/271](https\://github\.com/ansible\-community/community\-topics/discussions/271)\, [https\://github\.com/ansible\-collections/community\.general/pull/7259](https\://github\.com/ansible\-collections/community\.general/pull/7259)\)\. * redfish\_info\, redfish\_config\, redfish\_command \- the default value 10 for the timeout option is deprecated and will change to 60 in community\.general 9\.0\.0 \([https\://github\.com/ansible\-collections/community\.general/pull/7295](https\://github\.com/ansible\-collections/community\.general/pull/7295)\)\. - + ### Bugfixes * gitlab\_group\_variable \- deleted all variables when used with purge\=true due to missing raw property in KNOWN attributes \([https\://github\.com/ansible\-collections/community\.general/issues/7250](https\://github\.com/ansible\-collections/community\.general/issues/7250)\)\. @@ -220,7 +242,7 @@ with major version 7 will be bugfix releases 7\.5\.y\. ## v7\.4\.0 - + ### Release Summary Bugfix and feature release\. @@ -242,7 +264,7 @@ Bugfix and feature release\. * redfish\_utils module utils \- support Volumes in response for GetDiskInventory \([https\://github\.com/ansible\-collections/community\.general/pull/6819](https\://github\.com/ansible\-collections/community\.general/pull/6819)\)\. * unixy callback plugin \- add support for check\_mode\_markers option \([https\://github\.com/ansible\-collections/community\.general/pull/7179](https\://github\.com/ansible\-collections/community\.general/pull/7179)\)\. - + ### Bugfixes * CmdRunner module utils \- does not attempt to resolve path if executable is a relative or absolute path \([https\://github\.com/ansible\-collections/community\.general/pull/7200](https\://github\.com/ansible\-collections/community\.general/pull/7200)\)\. @@ -261,7 +283,7 @@ Bugfix and feature release\. ## v7\.3\.0 - + ### Release Summary Feature and bugfix release\. @@ -289,7 +311,7 @@ Feature and bugfix release\. * ejabberd\_user \- deprecate the parameter logging in favour of producing more detailed information in the module output \([https\://github\.com/ansible\-collections/community\.general/pull/7043](https\://github\.com/ansible\-collections/community\.general/pull/7043)\)\. - + ### Bugfixes * bitwarden lookup plugin \- the plugin made assumptions about the structure of a Bitwarden JSON object which may have been broken by an update in the Bitwarden API\. Remove assumptions\, and allow queries for general fields such as notes \([https\://github\.com/ansible\-collections/community\.general/pull/7061](https\://github\.com/ansible\-collections/community\.general/pull/7061)\)\. @@ -308,12 +330,12 @@ Feature and bugfix release\. ## v7\.2\.1 - + ### Release Summary Bugfix release\. - + ### Bugfixes * cmd\_runner module utils \- when a parameter in argument\_spec has no type\, meaning it is implicitly a str\, CmdRunner would fail trying to find the type key in that dictionary \([https\://github\.com/ansible\-collections/community\.general/pull/6968](https\://github\.com/ansible\-collections/community\.general/pull/6968)\)\. @@ -325,7 +347,7 @@ Bugfix release\. ## v7\.2\.0 - + ### Release Summary Regular bugfix and feature release\. @@ -376,7 +398,7 @@ Regular bugfix and feature release\. * webfaction\_mailbox \- module relies entirely on no longer existent API endpoints\, and it will be removed in community\.general 9\.0\.0 \([https\://github\.com/ansible\-collections/community\.general/pull/6909](https\://github\.com/ansible\-collections/community\.general/pull/6909)\)\. * webfaction\_site \- module relies entirely on no longer existent API endpoints\, and it will be removed in community\.general 9\.0\.0 \([https\://github\.com/ansible\-collections/community\.general/pull/6909](https\://github\.com/ansible\-collections/community\.general/pull/6909)\)\. - + ### Bugfixes * cobbler inventory plugin \- fix calculation of cobbler\_ipv4/6\_address \([https\://github\.com/ansible\-collections/community\.general/pull/6925](https\://github\.com/ansible\-collections/community\.general/pull/6925)\)\. @@ -418,7 +440,7 @@ Regular bugfix and feature release\. ## v7\.1\.0 - + ### Release Summary Regular bugfix and feature release\. @@ -500,7 +522,7 @@ for the rendered HTML version of the documentation of the latest release\. for removal in community\.general 10\.0\.0 \([https\://github\.com/ansible\-collections/community\.general/pull/6673](https\://github\.com/ansible\-collections/community\.general/pull/6673)\)\. - + ### Bugfixes * MH DependencyMixin module utils \- deprecation notice was popping up for modules not using dependencies \([https\://github\.com/ansible\-collections/community\.general/pull/6644](https\://github\.com/ansible\-collections/community\.general/pull/6644)\, [https\://github\.com/ansible\-collections/community\.general/issues/6639](https\://github\.com/ansible\-collections/community\.general/issues/6639)\)\. @@ -537,12 +559,12 @@ for the rendered HTML version of the documentation of the latest release\. ## v7\.0\.1 - + ### Release Summary Bugfix release for Ansible 8\.0\.0rc1\. - + ### Bugfixes * nmcli \- fix bond option xmit\_hash\_policy \([https\://github\.com/ansible\-collections/community\.general/pull/6527](https\://github\.com/ansible\-collections/community\.general/pull/6527)\)\. @@ -553,7 +575,7 @@ Bugfix release for Ansible 8\.0\.0rc1\. ## v7\.0\.0 - + ### Release Summary This is release 7\.0\.0 of community\.general\, released on 2023\-05\-09\. @@ -738,7 +760,7 @@ This is release 7\.0\.0 of community\.general\, released on 2023\-0 * xfconf \- generating facts was deprecated in community\.general 3\.0\.0\, however three factoids\, property\, channel and value continued to be generated by mistake\. This behaviour has been removed and xfconf generate no facts whatsoever \([https\://github\.com/ansible\-collections/community\.general/pull/5502](https\://github\.com/ansible\-collections/community\.general/pull/5502)\)\. * xfconf \- generating facts was deprecated in community\.general 3\.0\.0\, however two factoids\, previous\_value and type continued to be generated by mistake\. This behaviour has been removed and xfconf generate no facts whatsoever \([https\://github\.com/ansible\-collections/community\.general/pull/5502](https\://github\.com/ansible\-collections/community\.general/pull/5502)\)\. - + ### Bugfixes * ModuleHelper \- fix bug when adjusting the name of reserved output variables \([https\://github\.com/ansible\-collections/community\.general/pull/5755](https\://github\.com/ansible\-collections/community\.general/pull/5755)\)\. diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ee7aa4cb83..f4cb0cfcc1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,25 @@ Community General Release Notes This changelog describes changes after version 6.0.0. +v7.5.5 +====== + +Release Summary +--------------- + +Regular bugfix release. + +Bugfixes +-------- + +- cargo - fix idempotency issues when using a custom installation path for packages (using the ``--path`` parameter). The initial installation runs fine, but subsequent runs use the ``get_installed()`` function which did not check the given installation location, before running ``cargo install``. This resulted in a false ``changed`` state. Also the removal of packeges using ``state: absent`` failed, as the installation check did not use the given parameter (https://github.com/ansible-collections/community.general/pull/7970). +- keycloak_client - fixes issue when metadata is provided in desired state when task is in check mode (https://github.com/ansible-collections/community.general/issues/1226, https://github.com/ansible-collections/community.general/pull/7881). +- modprobe - listing modules files or modprobe files could trigger a FileNotFoundError if ``/etc/modprobe.d`` or ``/etc/modules-load.d`` did not exist. Relevant functions now return empty lists if the directories do not exist to avoid crashing the module (https://github.com/ansible-collections/community.general/issues/7717). +- onepassword lookup plugin - failed for fields that were in sections and had uppercase letters in the label/ID. Field lookups are now case insensitive in all cases (https://github.com/ansible-collections/community.general/pull/7919). +- pkgin - pkgin (pkgsrc package manager used by SmartOS) raises erratic exceptions and spurious ``changed=true`` (https://github.com/ansible-collections/community.general/pull/7971). +- redfish_info - allow for a GET operation invoked by ``GetUpdateStatus`` to allow for an empty response body for cases where a service returns 204 No Content (https://github.com/ansible-collections/community.general/issues/8003). +- redfish_info - correct uncaught exception when attempting to retrieve ``Chassis`` information (https://github.com/ansible-collections/community.general/pull/7952). + v7.5.4 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 30224613f8..87e61f1cc8 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1708,3 +1708,41 @@ releases: - 7821-mssql_script-py2.yml - 7870-homebrew-cask-installed-detection.yml release_date: '2024-01-29' + 7.5.5: + changes: + bugfixes: + - 'cargo - fix idempotency issues when using a custom installation path for + packages (using the ``--path`` parameter). The initial installation runs fine, + but subsequent runs use the ``get_installed()`` function which did not check + the given installation location, before running ``cargo install``. This resulted + in a false ``changed`` state. Also the removal of packeges using ``state: + absent`` failed, as the installation check did not use the given parameter + (https://github.com/ansible-collections/community.general/pull/7970).' + - keycloak_client - fixes issue when metadata is provided in desired state when + task is in check mode (https://github.com/ansible-collections/community.general/issues/1226, + https://github.com/ansible-collections/community.general/pull/7881). + - modprobe - listing modules files or modprobe files could trigger a FileNotFoundError + if ``/etc/modprobe.d`` or ``/etc/modules-load.d`` did not exist. Relevant + functions now return empty lists if the directories do not exist to avoid + crashing the module (https://github.com/ansible-collections/community.general/issues/7717). + - onepassword lookup plugin - failed for fields that were in sections and had + uppercase letters in the label/ID. Field lookups are now case insensitive + in all cases (https://github.com/ansible-collections/community.general/pull/7919). + - pkgin - pkgin (pkgsrc package manager used by SmartOS) raises erratic exceptions + and spurious ``changed=true`` (https://github.com/ansible-collections/community.general/pull/7971). + - redfish_info - allow for a GET operation invoked by ``GetUpdateStatus`` to + allow for an empty response body for cases where a service returns 204 No + Content (https://github.com/ansible-collections/community.general/issues/8003). + - redfish_info - correct uncaught exception when attempting to retrieve ``Chassis`` + information (https://github.com/ansible-collections/community.general/pull/7952). + release_summary: Regular bugfix release. + fragments: + - 7.5.5.yml + - 7717-prevent-modprobe-error.yml + - 7881-fix-keycloak-client-ckeckmode.yml + - 7919-onepassword-fieldname-casing.yaml + - 7951-fix-redfish_info-exception.yml + - 7970-fix-cargo-path-idempotency.yaml + - 8003-redfish-get-update-status-empty-response.yml + - pkgin.yml + release_date: '2024-02-25' diff --git a/changelogs/fragments/7.5.5.yml b/changelogs/fragments/7.5.5.yml deleted file mode 100644 index 1b14bd80d1..0000000000 --- a/changelogs/fragments/7.5.5.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Regular bugfix release. diff --git a/changelogs/fragments/7717-prevent-modprobe-error.yml b/changelogs/fragments/7717-prevent-modprobe-error.yml deleted file mode 100644 index bfef30e67b..0000000000 --- a/changelogs/fragments/7717-prevent-modprobe-error.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - modprobe - listing modules files or modprobe files could trigger a FileNotFoundError if ``/etc/modprobe.d`` or ``/etc/modules-load.d`` did not exist. Relevant functions now return empty lists if the directories do not exist to avoid crashing the module (https://github.com/ansible-collections/community.general/issues/7717). diff --git a/changelogs/fragments/7881-fix-keycloak-client-ckeckmode.yml b/changelogs/fragments/7881-fix-keycloak-client-ckeckmode.yml deleted file mode 100644 index 485950c11c..0000000000 --- a/changelogs/fragments/7881-fix-keycloak-client-ckeckmode.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - keycloak_client - fixes issue when metadata is provided in desired state when task is in check mode (https://github.com/ansible-collections/community.general/issues/1226, https://github.com/ansible-collections/community.general/pull/7881). \ No newline at end of file diff --git a/changelogs/fragments/7919-onepassword-fieldname-casing.yaml b/changelogs/fragments/7919-onepassword-fieldname-casing.yaml deleted file mode 100644 index 9119f896f0..0000000000 --- a/changelogs/fragments/7919-onepassword-fieldname-casing.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - onepassword lookup plugin - failed for fields that were in sections and had uppercase letters in the label/ID. Field lookups are now case insensitive in all cases (https://github.com/ansible-collections/community.general/pull/7919). diff --git a/changelogs/fragments/7951-fix-redfish_info-exception.yml b/changelogs/fragments/7951-fix-redfish_info-exception.yml deleted file mode 100644 index cd5707da4b..0000000000 --- a/changelogs/fragments/7951-fix-redfish_info-exception.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "redfish_info - correct uncaught exception when attempting to retrieve ``Chassis`` information (https://github.com/ansible-collections/community.general/pull/7952)." diff --git a/changelogs/fragments/7970-fix-cargo-path-idempotency.yaml b/changelogs/fragments/7970-fix-cargo-path-idempotency.yaml deleted file mode 100644 index 143247bc91..0000000000 --- a/changelogs/fragments/7970-fix-cargo-path-idempotency.yaml +++ /dev/null @@ -1,10 +0,0 @@ -bugfixes: - - "cargo - fix idempotency issues when using a custom installation path - for packages (using the ``--path`` parameter). - The initial installation runs fine, but subsequent runs use the - ``get_installed()`` function which did not check the given installation - location, before running ``cargo install``. This resulted in a false - ``changed`` state. - Also the removal of packeges using ``state: absent`` failed, as the - installation check did not use the given parameter - (https://github.com/ansible-collections/community.general/pull/7970)." diff --git a/changelogs/fragments/8003-redfish-get-update-status-empty-response.yml b/changelogs/fragments/8003-redfish-get-update-status-empty-response.yml deleted file mode 100644 index 21796e7a0e..0000000000 --- a/changelogs/fragments/8003-redfish-get-update-status-empty-response.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - redfish_info - allow for a GET operation invoked by ``GetUpdateStatus`` to allow for an empty response body for cases where a service returns 204 No Content (https://github.com/ansible-collections/community.general/issues/8003). diff --git a/changelogs/fragments/pkgin.yml b/changelogs/fragments/pkgin.yml deleted file mode 100644 index 60eff0bfe5..0000000000 --- a/changelogs/fragments/pkgin.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - pkgin - pkgin (pkgsrc package manager used by SmartOS) raises erratic exceptions and spurious ``changed=true`` (https://github.com/ansible-collections/community.general/pull/7971).