From 8919a545d303cd5def92f85b3cc4829f422e446b Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 29 Dec 2025 14:47:41 +0100 Subject: [PATCH] Release 12.2.0. --- CHANGELOG.md | 91 +++++++++++++++---- CHANGELOG.rst | 45 +++++++++ changelogs/changelog.yaml | 79 ++++++++++++++++ .../fragments/11182-vxlan-parent-bridging.yml | 2 - .../fragments/11204-lxc-container-popen.yml | 2 - .../fragments/11240-btrfs-run-command.yml | 2 - changelogs/fragments/11242-deps-enum.yml | 2 - changelogs/fragments/11245-monit-enum.yml | 4 - .../11255-monit-integrationtests.yml | 4 - .../11256-fix-keycloak-roles-mapping.yml | 4 - changelogs/fragments/11258-iptables_state.yml | 2 - ...60-keycloak-realm-crash-when-no-realms.yml | 3 - changelogs/fragments/11265-fix-apk-3.yml | 3 - ...nded-keycloak-user-profile-validations.yml | 3 - ...9-keycloak-userprofile-selector-option.yml | 2 - .../11311-scaleway-scw-profile-var.yml | 2 - ...11314-scaleway-scw-profile-var-modules.yml | 2 - .../fragments/11323-lxc-container-tempdir.yml | 2 - changelogs/fragments/12.2.0.yml | 1 - .../listen-ports-facts-return-no-facts.yml | 2 - changelogs/fragments/private.yml | 8 -- 21 files changed, 195 insertions(+), 70 deletions(-) delete mode 100644 changelogs/fragments/11182-vxlan-parent-bridging.yml delete mode 100644 changelogs/fragments/11204-lxc-container-popen.yml delete mode 100644 changelogs/fragments/11240-btrfs-run-command.yml delete mode 100644 changelogs/fragments/11242-deps-enum.yml delete mode 100644 changelogs/fragments/11245-monit-enum.yml delete mode 100644 changelogs/fragments/11255-monit-integrationtests.yml delete mode 100644 changelogs/fragments/11256-fix-keycloak-roles-mapping.yml delete mode 100644 changelogs/fragments/11258-iptables_state.yml delete mode 100644 changelogs/fragments/11260-keycloak-realm-crash-when-no-realms.yml delete mode 100644 changelogs/fragments/11265-fix-apk-3.yml delete mode 100644 changelogs/fragments/11285-extended-keycloak-user-profile-validations.yml delete mode 100644 changelogs/fragments/11309-keycloak-userprofile-selector-option.yml delete mode 100644 changelogs/fragments/11311-scaleway-scw-profile-var.yml delete mode 100644 changelogs/fragments/11314-scaleway-scw-profile-var-modules.yml delete mode 100644 changelogs/fragments/11323-lxc-container-tempdir.yml delete mode 100644 changelogs/fragments/12.2.0.yml delete mode 100644 changelogs/fragments/listen-ports-facts-return-no-facts.yml delete mode 100644 changelogs/fragments/private.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 69e80e499a..a60d63afe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,43 +2,94 @@ **Topics** -- v12\.1\.0 +- v12\.2\.0 - Release Summary - Minor Changes - Deprecated Features - Bugfixes - New Modules -- v12\.0\.1 +- v12\.1\.0 - Release Summary - Minor Changes + - Deprecated Features - Bugfixes -- v12\.0\.0 + - New Modules +- v12\.0\.1 - Release Summary - Minor Changes + - Bugfixes +- v12\.0\.0 + - Release Summary + - Minor Changes - Breaking Changes / Porting Guide - - Deprecated Features + - Deprecated Features - Removed Features \(previously deprecated\) - Security Fixes - - Bugfixes + - Bugfixes - New Plugins - Callback - Filter - Inventory - Lookup - - New Modules + - New Modules This changelog describes changes after version 11\.0\.0\. - -## v12\.1\.0 + +## v12\.2\.0 ### Release Summary -Regular bugfix and feature release\. +Feature and bugfix release\. ### Minor Changes +* btrfs module utils \- make execution of external commands safer by passing arguments as list \([https\://github\.com/ansible\-collections/community\.general/pull/11240](https\://github\.com/ansible\-collections/community\.general/pull/11240)\)\. +* deps module utils \- change the internal representaion of dependency state \([https\://github\.com/ansible\-collections/community\.general/pull/11242](https\://github\.com/ansible\-collections/community\.general/pull/11242)\)\. +* keycloak\_userprofile \- add support for selector option \([https\://github\.com/ansible\-collections/community\.general/pull/11309](https\://github\.com/ansible\-collections/community\.general/pull/11309)\)\. +* keycloak\_userprofile \- add support for additional user profile attribute\-validations available in Keycloak \([https\://github\.com/ansible\-collections/community\.general/issues/9048](https\://github\.com/ansible\-collections/community\.general/issues/9048)\, [https\://github\.com/ansible\-collections/community\.general/pull/11285](https\://github\.com/ansible\-collections/community\.general/pull/11285)\)\. +* lxc\_container \- refactor function create\_script\, using subprocess\.Popen\(\)\, to a new module\_utils \_lxc \([https\://github\.com/ansible\-collections/community\.general/pull/11204](https\://github\.com/ansible\-collections/community\.general/pull/11204)\)\. +* lxc\_container \- use tempfile\.TemporaryDirectory\(\) instead of mkdtemp\(\) \([https\://github\.com/ansible\-collections/community\.general/pull/11323](https\://github\.com/ansible\-collections/community\.general/pull/11323)\)\. +* monit \- add monit\_version return value also when the module has succeeded \([https\://github\.com/ansible\-collections/community\.general/pull/11255](https\://github\.com/ansible\-collections/community\.general/pull/11255)\)\. +* monit \- use Enum to represent the possible states \([https\://github\.com/ansible\-collections/community\.general/pull/11245](https\://github\.com/ansible\-collections/community\.general/pull/11245)\)\. +* nmcli module \- add vxlan\_parent option required for multicast vxlan\_remote addresses\; add vxlan to list of bridgeable devices \([https\://github\.com/ansible\-collections/community\.general/pull/11182](https\://github\.com/ansible\-collections/community\.general/pull/11182)\)\. +* scaleway inventory plugin \- added support for SCW\_PROFILE environment variable for the scw\_profile option \([https\://github\.com/ansible\-collections/community\.general/issues/11310](https\://github\.com/ansible\-collections/community\.general/issues/11310)\, [https\://github\.com/ansible\-collections/community\.general/pull/11311](https\://github\.com/ansible\-collections/community\.general/pull/11311)\)\. +* scaleway module utils \- added scw\_profile parameter with SCW\_PROFILE environment variable support \([https\://github\.com/ansible\-collections/community\.general/issues/11313](https\://github\.com/ansible\-collections/community\.general/issues/11313)\, [https\://github\.com/ansible\-collections/community\.general/pull/11314](https\://github\.com/ansible\-collections/community\.general/pull/11314)\)\. + + +### Deprecated Features + +* All module utils\, plugin utils\, and doc fragments will be made private in community\.general 13\.0\.0\. This means that they will no longer be part of the public API of the collection\, and can have breaking changes even in bugfix releases\. If you depend on importing code from the module or plugin utils\, or use one of the doc fragments\, please [comment in the issue to discuss this](https\://github\.com/ansible\-collections/community\.general/issues/11312)\. Note that this does not affect any use of community\.general in task files\, roles\, or playbooks \([https\://github\.com/ansible\-collections/community\.general/issues/11312](https\://github\.com/ansible\-collections/community\.general/issues/11312)\, [https\://github\.com/ansible\-collections/community\.general/pull/11320](https\://github\.com/ansible\-collections/community\.general/pull/11320)\)\. + + +### Bugfixes + +* apk \- fix packages return value for apk\-tools \>\= 3 \(Alpine 3\.23\) \([https\://github\.com/ansible\-collections/community\.general/issues/11264](https\://github\.com/ansible\-collections/community\.general/issues/11264)\)\. +* iptables\_state \- refactor code to avoid writing unnecessary temporary files \([https\://github\.com/ansible\-collections/community\.general/pull/11258](https\://github\.com/ansible\-collections/community\.general/pull/11258)\)\. +* keycloak\_realm \- fixed crash in sanitize\_cr\(\) when realmrep was None \([https\://github\.com/ansible\-collections/community\.general/pull/11260](https\://github\.com/ansible\-collections/community\.general/pull/11260)\)\. +* keycloak\_user\_rolemapping module \- fixed crash when assigning roles to users without an existing role \([https\://github\.com/ansible\-collections/community\.general/issues/10960](https\://github\.com/ansible\-collections/community\.general/issues/10960)\, [https\://github\.com/ansible\-collections/community\.general/pull/11256](https\://github\.com/ansible\-collections/community\.general/pull/11256)\)\. +* listen\_ports\_facts \- fix handling of empty PID lists when command\=ss \([https\://github\.com/ansible\-collections/community\.general/pull/11332](https\://github\.com/ansible\-collections/community\.general/pull/11332)\)\. +* monit \- add delay of 0\.5 seconds after state change and check for status \([https\://github\.com/ansible\-collections/community\.general/pull/11255](https\://github\.com/ansible\-collections/community\.general/pull/11255)\)\. +* monit \- internal state was not reflecting when operation is \"pending\" in monit \([https\://github\.com/ansible\-collections/community\.general/pull/11245](https\://github\.com/ansible\-collections/community\.general/pull/11245)\)\. + + +### New Modules + +* community\.general\.ip2location\_info \- Retrieve IP geolocation information of a host\'s IP address\. +* community\.general\.sssd\_info \- Check SSSD domain status using D\-Bus\. + + +## v12\.1\.0 + + +### Release Summary + +Regular bugfix and feature release\. + + +### Minor Changes + * The last code included in the collection that was licensed under the PSF 2\.0 license was removed form the collection\. This means that now all code is either GPLv3\+ licensed\, MIT licensed\, or BSD\-2\-clause licensed \([https\://github\.com/ansible\-collections/community\.general/pull/11232](https\://github\.com/ansible\-collections/community\.general/pull/11232)\)\. * \_mount module utils \- simplify return of boolean values in functions \([https\://github\.com/ansible\-collections/community\.general/pull/11119](https\://github\.com/ansible\-collections/community\.general/pull/11119)\)\. * \_stormssh module utils \- fix cases of unused variables in loops \([https\://github\.com/ansible\-collections/community\.general/pull/11115](https\://github\.com/ansible\-collections/community\.general/pull/11115)\)\. @@ -374,7 +425,7 @@ Regular bugfix and feature release\. * zfs \- simplify return of boolean values in functions \([https\://github\.com/ansible\-collections/community\.general/pull/11119](https\://github\.com/ansible\-collections/community\.general/pull/11119)\)\. * zone connection plugin \- use raise \.\.\. from \.\.\. when passing on exceptions \([https\://github\.com/ansible\-collections/community\.general/pull/11095](https\://github\.com/ansible\-collections/community\.general/pull/11095)\)\. - + ### Deprecated Features * cloud module utils \- this module utils is not used by community\.general and will thus be removed from community\.general 13\.0\.0\. If you are using it from another collection\, please copy it over \([https\://github\.com/ansible\-collections/community\.general/pull/11205](https\://github\.com/ansible\-collections/community\.general/pull/11205)\)\. @@ -387,7 +438,7 @@ Regular bugfix and feature release\. * saslprep module utils \- this module utils is not used by community\.general and will thus be removed from community\.general 13\.0\.0\. If you are using it from another collection\, please copy it over \([https\://github\.com/ansible\-collections/community\.general/pull/11205](https\://github\.com/ansible\-collections/community\.general/pull/11205)\)\. * spotinst\_aws\_elastigroup \- module relies on Python package supporting Python 2\.7 only\; the module will be removed from community\.general 13\.0\.0 \([https\://github\.com/ansible\-collections/community\.general/pull/11069](https\://github\.com/ansible\-collections/community\.general/pull/11069)\)\. - + ### Bugfixes * \_filelock module utils \- add type hints\. Fix bug if set\_lock\(\) is called with lock\_timeout\=None \([https\://github\.com/ansible\-collections/community\.general/pull/11222](https\://github\.com/ansible\-collections/community\.general/pull/11222)\)\. @@ -405,7 +456,7 @@ Regular bugfix and feature release\. * xcc\_redfish\_command \- fix templating of dictionary keys as list \([https\://github\.com/ansible\-collections/community\.general/pull/11144](https\://github\.com/ansible\-collections/community\.general/pull/11144)\)\. * zfs \- mark change correctly when updating properties whose current value differs\, even if they already have a non\-default value \([https\://github\.com/ansible\-collections/community\.general/issues/11019](https\://github\.com/ansible\-collections/community\.general/issues/11019)\, [https\://github\.com/ansible\-collections/community\.general/pull/11172](https\://github\.com/ansible\-collections/community\.general/pull/11172)\)\. - + ### New Modules * community\.general\.file\_remove \- Remove files matching a pattern from a directory\. @@ -415,12 +466,12 @@ Regular bugfix and feature release\. ## v12\.0\.1 - + ### Release Summary Bugfix release for inclusion in Ansible 13\.0\.0rc1\. - + ### Minor Changes * datetime module utils \- remove code for unsupported Python version \([https\://github\.com/ansible\-collections/community\.general/pull/11048](https\://github\.com/ansible\-collections/community\.general/pull/11048)\)\. @@ -435,7 +486,7 @@ Bugfix release for inclusion in Ansible 13\.0\.0rc1\. * tss lookup plugin \- fixed AccessTokenAuthorizer initialization to include base\_url parameter for proper token authentication \([https\://github\.com/ansible\-collections/community\.general/pull/11031](https\://github\.com/ansible\-collections/community\.general/pull/11031)\)\. * zfs\_facts \- use Ansible construct to check result of external command \([https\://github\.com/ansible\-collections/community\.general/pull/11054](https\://github\.com/ansible\-collections/community\.general/pull/11054)\)\. - + ### Bugfixes * \_filelock module utils \- improve Python code \([https\://github\.com/ansible\-collections/community\.general/pull/11043](https\://github\.com/ansible\-collections/community\.general/pull/11043)\)\. @@ -568,12 +619,12 @@ Bugfix release for inclusion in Ansible 13\.0\.0rc1\. ## v12\.0\.0 - + ### Release Summary This is release 12\.0\.0 of community\.general\, released on 2025\-11\-03\. - + ### Minor Changes * Modernize code for Python 3\.7\+\. This includes code reformatting\, and adding new checks to CI\, including a type checker \(mypy\)\. Most of the code does not have type hints yet\, but now it is possible to add typing hints and have these validated \([https\://github\.com/ansible\-collections/community\.general/pull/10285](https\://github\.com/ansible\-collections/community\.general/pull/10285)\, [https\://github\.com/ansible\-collections/community\.general/pull/10886](https\://github\.com/ansible\-collections/community\.general/pull/10886)\, [https\://github\.com/ansible\-collections/community\.general/pull/10891](https\://github\.com/ansible\-collections/community\.general/pull/10891)\, [https\://github\.com/ansible\-collections/community\.general/pull/10892](https\://github\.com/ansible\-collections/community\.general/pull/10892)\, [https\://github\.com/ansible\-collections/community\.general/pull/10897](https\://github\.com/ansible\-collections/community\.general/pull/10897)\, [https\://github\.com/ansible\-collections/community\.general/pull/10899](https\://github\.com/ansible\-collections/community\.general/pull/10899)\, [https\://github\.com/ansible\-collections/community\.general/pull/10902](https\://github\.com/ansible\-collections/community\.general/pull/10902)\, [https\://github\.com/ansible\-collections/community\.general/pull/10903](https\://github\.com/ansible\-collections/community\.general/pull/10903)\, [https\://github\.com/ansible\-collections/community\.general/pull/10904](https\://github\.com/ansible\-collections/community\.general/pull/10904)\, [https\://github\.com/ansible\-collections/community\.general/pull/10907](https\://github\.com/ansible\-collections/community\.general/pull/10907)\, [https\://github\.com/ansible\-collections/community\.general/pull/10908](https\://github\.com/ansible\-collections/community\.general/pull/10908)\, [https\://github\.com/ansible\-collections/community\.general/pull/10909](https\://github\.com/ansible\-collections/community\.general/pull/10909)\, [https\://github\.com/ansible\-collections/community\.general/pull/10939](https\://github\.com/ansible\-collections/community\.general/pull/10939)\, [https\://github\.com/ansible\-collections/community\.general/pull/10940](https\://github\.com/ansible\-collections/community\.general/pull/10940)\, [https\://github\.com/ansible\-collections/community\.general/pull/10941](https\://github\.com/ansible\-collections/community\.general/pull/10941)\, [https\://github\.com/ansible\-collections/community\.general/pull/10942](https\://github\.com/ansible\-collections/community\.general/pull/10942)\, [https\://github\.com/ansible\-collections/community\.general/pull/10945](https\://github\.com/ansible\-collections/community\.general/pull/10945)\, [https\://github\.com/ansible\-collections/community\.general/pull/10947](https\://github\.com/ansible\-collections/community\.general/pull/10947)\, [https\://github\.com/ansible\-collections/community\.general/pull/10958](https\://github\.com/ansible\-collections/community\.general/pull/10958)\, [https\://github\.com/ansible\-collections/community\.general/pull/10959](https\://github\.com/ansible\-collections/community\.general/pull/10959)\, [https\://github\.com/ansible\-collections/community\.general/pull/10968](https\://github\.com/ansible\-collections/community\.general/pull/10968)\, [https\://github\.com/ansible\-collections/community\.general/pull/10969](https\://github\.com/ansible\-collections/community\.general/pull/10969)\, [https\://github\.com/ansible\-collections/community\.general/pull/10970](https\://github\.com/ansible\-collections/community\.general/pull/10970)\, [https\://github\.com/ansible\-collections/community\.general/pull/10971](https\://github\.com/ansible\-collections/community\.general/pull/10971)\, [https\://github\.com/ansible\-collections/community\.general/pull/10973](https\://github\.com/ansible\-collections/community\.general/pull/10973)\, [https\://github\.com/ansible\-collections/community\.general/pull/10974](https\://github\.com/ansible\-collections/community\.general/pull/10974)\, [https\://github\.com/ansible\-collections/community\.general/pull/10975](https\://github\.com/ansible\-collections/community\.general/pull/10975)\, [https\://github\.com/ansible\-collections/community\.general/pull/10976](https\://github\.com/ansible\-collections/community\.general/pull/10976)\, [https\://github\.com/ansible\-collections/community\.general/pull/10977](https\://github\.com/ansible\-collections/community\.general/pull/10977)\, [https\://github\.com/ansible\-collections/community\.general/pull/10978](https\://github\.com/ansible\-collections/community\.general/pull/10978)\, [https\://github\.com/ansible\-collections/community\.general/pull/10979](https\://github\.com/ansible\-collections/community\.general/pull/10979)\, [https\://github\.com/ansible\-collections/community\.general/pull/10980](https\://github\.com/ansible\-collections/community\.general/pull/10980)\, [https\://github\.com/ansible\-collections/community\.general/pull/10981](https\://github\.com/ansible\-collections/community\.general/pull/10981)\, [https\://github\.com/ansible\-collections/community\.general/pull/10992](https\://github\.com/ansible\-collections/community\.general/pull/10992)\, [https\://github\.com/ansible\-collections/community\.general/pull/10993](https\://github\.com/ansible\-collections/community\.general/pull/10993)\, [https\://github\.com/ansible\-collections/community\.general/pull/10997](https\://github\.com/ansible\-collections/community\.general/pull/10997)\, [https\://github\.com/ansible\-collections/community\.general/pull/10999](https\://github\.com/ansible\-collections/community\.general/pull/10999)\, [https\://github\.com/ansible\-collections/community\.general/pull/11015](https\://github\.com/ansible\-collections/community\.general/pull/11015)\, [https\://github\.com/ansible\-collections/community\.general/pull/11016](https\://github\.com/ansible\-collections/community\.general/pull/11016)\, [https\://github\.com/ansible\-collections/community\.general/pull/11017](https\://github\.com/ansible\-collections/community\.general/pull/11017)\)\. @@ -864,7 +915,7 @@ This is release 12\.0\.0 of community\.general\, released on 2025\- * oneview module utils \- remove import of standard library os \([https\://github\.com/ansible\-collections/community\.general/pull/10644](https\://github\.com/ansible\-collections/community\.general/pull/10644)\)\. * slack \- the default of prepend\_hash changed from auto to never \([https\://github\.com/ansible\-collections/community\.general/pull/10883](https\://github\.com/ansible\-collections/community\.general/pull/10883)\)\. - + ### Deprecated Features * catapult \- module is deprecated and will be removed in community\.general 13\.0\.0 \([https\://github\.com/ansible\-collections/community\.general/issues/10318](https\://github\.com/ansible\-collections/community\.general/issues/10318)\, [https\://github\.com/ansible\-collections/community\.general/pull/10329](https\://github\.com/ansible\-collections/community\.general/pull/10329)\)\. @@ -910,7 +961,7 @@ This is release 12\.0\.0 of community\.general\, released on 2025\- * keycloak\_user \- the parameter credentials\[\]\.value is now marked as no\_log\=true\. Before it was logged by Ansible\, unless the task was marked as no\_log\: true\. Since this parameter can be used for passwords\, this resulted in credential leaking \([https\://github\.com/ansible\-collections/community\.general/issues/11000](https\://github\.com/ansible\-collections/community\.general/issues/11000)\, [https\://github\.com/ansible\-collections/community\.general/pull/11005](https\://github\.com/ansible\-collections/community\.general/pull/11005)\)\. - + ### Bugfixes * Avoid deprecated functionality in ansible\-core 2\.20 \([https\://github\.com/ansible\-collections/community\.general/pull/10687](https\://github\.com/ansible\-collections/community\.general/pull/10687)\)\. @@ -996,7 +1047,7 @@ This is release 12\.0\.0 of community\.general\, released on 2025\- * community\.general\.binary\_file \- Read binary file and return it Base64 encoded\. - + ### New Modules * community\.general\.django\_dumpdata \- Wrapper for django\-admin dumpdata\. diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 97440a44e4..78d4dd131b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,51 @@ Community General Release Notes This changelog describes changes after version 11.0.0. +v12.2.0 +======= + +Release Summary +--------------- + +Feature and bugfix release. + +Minor Changes +------------- + +- btrfs module utils - make execution of external commands safer by passing arguments as list (https://github.com/ansible-collections/community.general/pull/11240). +- deps module utils - change the internal representaion of dependency state (https://github.com/ansible-collections/community.general/pull/11242). +- keycloak_userprofile - add support for ``selector`` option (https://github.com/ansible-collections/community.general/pull/11309). +- keycloak_userprofile - add support for additional user profile attribute-validations available in Keycloak (https://github.com/ansible-collections/community.general/issues/9048, https://github.com/ansible-collections/community.general/pull/11285). +- lxc_container - refactor function ``create_script``, using ``subprocess.Popen()``, to a new module_utils ``_lxc`` (https://github.com/ansible-collections/community.general/pull/11204). +- lxc_container - use ``tempfile.TemporaryDirectory()`` instead of ``mkdtemp()`` (https://github.com/ansible-collections/community.general/pull/11323). +- monit - add ``monit_version`` return value also when the module has succeeded (https://github.com/ansible-collections/community.general/pull/11255). +- monit - use ``Enum`` to represent the possible states (https://github.com/ansible-collections/community.general/pull/11245). +- nmcli module - add ``vxlan_parent`` option required for multicast ``vxlan_remote`` addresses; add ``vxlan`` to list of bridgeable devices (https://github.com/ansible-collections/community.general/pull/11182). +- scaleway inventory plugin - added support for ``SCW_PROFILE`` environment variable for the ``scw_profile`` option (https://github.com/ansible-collections/community.general/issues/11310, https://github.com/ansible-collections/community.general/pull/11311). +- scaleway module utils - added ``scw_profile`` parameter with ``SCW_PROFILE`` environment variable support (https://github.com/ansible-collections/community.general/issues/11313, https://github.com/ansible-collections/community.general/pull/11314). + +Deprecated Features +------------------- + +- All module utils, plugin utils, and doc fragments will be made **private** in community.general 13.0.0. This means that they will no longer be part of the public API of the collection, and can have breaking changes even in bugfix releases. If you depend on importing code from the module or plugin utils, or use one of the doc fragments, please `comment in the issue to discuss this `__. Note that this does not affect any use of community.general in task files, roles, or playbooks (https://github.com/ansible-collections/community.general/issues/11312, https://github.com/ansible-collections/community.general/pull/11320). + +Bugfixes +-------- + +- apk - fix ``packages`` return value for apk-tools >= 3 (Alpine 3.23) (https://github.com/ansible-collections/community.general/issues/11264). +- iptables_state - refactor code to avoid writing unnecessary temporary files (https://github.com/ansible-collections/community.general/pull/11258). +- keycloak_realm - fixed crash in ``sanitize_cr()`` when ``realmrep`` was ``None`` (https://github.com/ansible-collections/community.general/pull/11260). +- keycloak_user_rolemapping module - fixed crash when assigning roles to users without an existing role (https://github.com/ansible-collections/community.general/issues/10960, https://github.com/ansible-collections/community.general/pull/11256). +- listen_ports_facts - fix handling of empty PID lists when ``command=ss`` (https://github.com/ansible-collections/community.general/pull/11332). +- monit - add delay of 0.5 seconds after state change and check for status (https://github.com/ansible-collections/community.general/pull/11255). +- monit - internal state was not reflecting when operation is "pending" in ``monit`` (https://github.com/ansible-collections/community.general/pull/11245). + +New Modules +----------- + +- community.general.ip2location_info - Retrieve IP geolocation information of a host's IP address. +- community.general.sssd_info - Check SSSD domain status using D-Bus. + v12.1.0 ======= diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 0b766bcf1d..8d744c0e54 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1548,3 +1548,82 @@ releases: name: lxd_storage_volume_info namespace: '' release_date: '2025-12-01' + 12.2.0: + changes: + bugfixes: + - apk - fix ``packages`` return value for apk-tools >= 3 (Alpine 3.23) (https://github.com/ansible-collections/community.general/issues/11264). + - iptables_state - refactor code to avoid writing unnecessary temporary files + (https://github.com/ansible-collections/community.general/pull/11258). + - keycloak_realm - fixed crash in ``sanitize_cr()`` when ``realmrep`` was + ``None`` (https://github.com/ansible-collections/community.general/pull/11260). + - keycloak_user_rolemapping module - fixed crash when assigning roles to users + without an existing role (https://github.com/ansible-collections/community.general/issues/10960, + https://github.com/ansible-collections/community.general/pull/11256). + - listen_ports_facts - fix handling of empty PID lists when ``command=ss`` + (https://github.com/ansible-collections/community.general/pull/11332). + - monit - add delay of 0.5 seconds after state change and check for status + (https://github.com/ansible-collections/community.general/pull/11255). + - monit - internal state was not reflecting when operation is "pending" in + ``monit`` (https://github.com/ansible-collections/community.general/pull/11245). + deprecated_features: + - All module utils, plugin utils, and doc fragments will be made **private** + in community.general 13.0.0. This means that they will no longer be part + of the public API of the collection, and can have breaking changes even + in bugfix releases. If you depend on importing code from the module or plugin + utils, or use one of the doc fragments, please `comment in the issue to + discuss this `__. + Note that this does not affect any use of community.general in task files, + roles, or playbooks (https://github.com/ansible-collections/community.general/issues/11312, + https://github.com/ansible-collections/community.general/pull/11320). + minor_changes: + - btrfs module utils - make execution of external commands safer by passing + arguments as list (https://github.com/ansible-collections/community.general/pull/11240). + - deps module utils - change the internal representaion of dependency state + (https://github.com/ansible-collections/community.general/pull/11242). + - keycloak_userprofile - add support for ``selector`` option (https://github.com/ansible-collections/community.general/pull/11309). + - keycloak_userprofile - add support for additional user profile attribute-validations + available in Keycloak (https://github.com/ansible-collections/community.general/issues/9048, + https://github.com/ansible-collections/community.general/pull/11285). + - lxc_container - refactor function ``create_script``, using ``subprocess.Popen()``, + to a new module_utils ``_lxc`` (https://github.com/ansible-collections/community.general/pull/11204). + - lxc_container - use ``tempfile.TemporaryDirectory()`` instead of ``mkdtemp()`` + (https://github.com/ansible-collections/community.general/pull/11323). + - monit - add ``monit_version`` return value also when the module has succeeded + (https://github.com/ansible-collections/community.general/pull/11255). + - monit - use ``Enum`` to represent the possible states (https://github.com/ansible-collections/community.general/pull/11245). + - nmcli module - add ``vxlan_parent`` option required for multicast ``vxlan_remote`` + addresses; add ``vxlan`` to list of bridgeable devices (https://github.com/ansible-collections/community.general/pull/11182). + - scaleway inventory plugin - added support for ``SCW_PROFILE`` environment + variable for the ``scw_profile`` option (https://github.com/ansible-collections/community.general/issues/11310, + https://github.com/ansible-collections/community.general/pull/11311). + - scaleway module utils - added ``scw_profile`` parameter with ``SCW_PROFILE`` + environment variable support (https://github.com/ansible-collections/community.general/issues/11313, + https://github.com/ansible-collections/community.general/pull/11314). + release_summary: Feature and bugfix release. + fragments: + - 11182-vxlan-parent-bridging.yml + - 11204-lxc-container-popen.yml + - 11240-btrfs-run-command.yml + - 11242-deps-enum.yml + - 11245-monit-enum.yml + - 11255-monit-integrationtests.yml + - 11256-fix-keycloak-roles-mapping.yml + - 11258-iptables_state.yml + - 11260-keycloak-realm-crash-when-no-realms.yml + - 11265-fix-apk-3.yml + - 11285-extended-keycloak-user-profile-validations.yml + - 11309-keycloak-userprofile-selector-option.yml + - 11311-scaleway-scw-profile-var.yml + - 11314-scaleway-scw-profile-var-modules.yml + - 11323-lxc-container-tempdir.yml + - 12.2.0.yml + - listen-ports-facts-return-no-facts.yml + - private.yml + modules: + - description: Retrieve IP geolocation information of a host's IP address. + name: ip2location_info + namespace: '' + - description: Check SSSD domain status using D-Bus. + name: sssd_info + namespace: '' + release_date: '2025-12-29' diff --git a/changelogs/fragments/11182-vxlan-parent-bridging.yml b/changelogs/fragments/11182-vxlan-parent-bridging.yml deleted file mode 100644 index 8a33f678e5..0000000000 --- a/changelogs/fragments/11182-vxlan-parent-bridging.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - nmcli module - add ``vxlan_parent`` option required for multicast ``vxlan_remote`` addresses; add ``vxlan`` to list of bridgeable devices (https://github.com/ansible-collections/community.general/pull/11182). diff --git a/changelogs/fragments/11204-lxc-container-popen.yml b/changelogs/fragments/11204-lxc-container-popen.yml deleted file mode 100644 index 9056fed4f6..0000000000 --- a/changelogs/fragments/11204-lxc-container-popen.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - lxc_container - refactor function ``create_script``, using ``subprocess.Popen()``, to a new module_utils ``_lxc`` (https://github.com/ansible-collections/community.general/pull/11204). diff --git a/changelogs/fragments/11240-btrfs-run-command.yml b/changelogs/fragments/11240-btrfs-run-command.yml deleted file mode 100644 index 5b3f734732..0000000000 --- a/changelogs/fragments/11240-btrfs-run-command.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - btrfs module utils - make execution of external commands safer by passing arguments as list (https://github.com/ansible-collections/community.general/pull/11240). diff --git a/changelogs/fragments/11242-deps-enum.yml b/changelogs/fragments/11242-deps-enum.yml deleted file mode 100644 index 257c0431a0..0000000000 --- a/changelogs/fragments/11242-deps-enum.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - deps module utils - change the internal representaion of dependency state (https://github.com/ansible-collections/community.general/pull/11242). diff --git a/changelogs/fragments/11245-monit-enum.yml b/changelogs/fragments/11245-monit-enum.yml deleted file mode 100644 index a31089bc93..0000000000 --- a/changelogs/fragments/11245-monit-enum.yml +++ /dev/null @@ -1,4 +0,0 @@ -bugfixes: - - monit - internal state was not reflecting when operation is "pending" in ``monit`` (https://github.com/ansible-collections/community.general/pull/11245). -minor_changes: - - monit - use ``Enum`` to represent the possible states (https://github.com/ansible-collections/community.general/pull/11245). diff --git a/changelogs/fragments/11255-monit-integrationtests.yml b/changelogs/fragments/11255-monit-integrationtests.yml deleted file mode 100644 index 57e0adf468..0000000000 --- a/changelogs/fragments/11255-monit-integrationtests.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - monit - add ``monit_version`` return value also when the module has succeeded (https://github.com/ansible-collections/community.general/pull/11255). -bugfixes: - - monit - add delay of 0.5 seconds after state change and check for status (https://github.com/ansible-collections/community.general/pull/11255). diff --git a/changelogs/fragments/11256-fix-keycloak-roles-mapping.yml b/changelogs/fragments/11256-fix-keycloak-roles-mapping.yml deleted file mode 100644 index be567ca833..0000000000 --- a/changelogs/fragments/11256-fix-keycloak-roles-mapping.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - keycloak_user_rolemapping module - fixed crash when assigning roles to users - without an existing role (https://github.com/ansible-collections/community.general/issues/10960, https://github.com/ansible-collections/community.general/pull/11256). diff --git a/changelogs/fragments/11258-iptables_state.yml b/changelogs/fragments/11258-iptables_state.yml deleted file mode 100644 index 26195c5045..0000000000 --- a/changelogs/fragments/11258-iptables_state.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "iptables_state - refactor code to avoid writing unnecessary temporary files (https://github.com/ansible-collections/community.general/pull/11258)." diff --git a/changelogs/fragments/11260-keycloak-realm-crash-when-no-realms.yml b/changelogs/fragments/11260-keycloak-realm-crash-when-no-realms.yml deleted file mode 100644 index f972fea17b..0000000000 --- a/changelogs/fragments/11260-keycloak-realm-crash-when-no-realms.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - keycloak_realm - fixed crash in ``sanitize_cr()`` when ``realmrep`` was ``None`` (https://github.com/ansible-collections/community.general/pull/11260). diff --git a/changelogs/fragments/11265-fix-apk-3.yml b/changelogs/fragments/11265-fix-apk-3.yml deleted file mode 100644 index 3e35672932..0000000000 --- a/changelogs/fragments/11265-fix-apk-3.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - apk - fix ``packages`` return value for apk-tools >= 3 (Alpine 3.23) (https://github.com/ansible-collections/community.general/issues/11264). diff --git a/changelogs/fragments/11285-extended-keycloak-user-profile-validations.yml b/changelogs/fragments/11285-extended-keycloak-user-profile-validations.yml deleted file mode 100644 index 0a4b8f951a..0000000000 --- a/changelogs/fragments/11285-extended-keycloak-user-profile-validations.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - keycloak_userprofile - add support for additional user profile attribute-validations available in Keycloak (https://github.com/ansible-collections/community.general/issues/9048, https://github.com/ansible-collections/community.general/pull/11285). diff --git a/changelogs/fragments/11309-keycloak-userprofile-selector-option.yml b/changelogs/fragments/11309-keycloak-userprofile-selector-option.yml deleted file mode 100644 index e825bbb1d8..0000000000 --- a/changelogs/fragments/11309-keycloak-userprofile-selector-option.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - keycloak_userprofile - add support for ``selector`` option (https://github.com/ansible-collections/community.general/pull/11309). \ No newline at end of file diff --git a/changelogs/fragments/11311-scaleway-scw-profile-var.yml b/changelogs/fragments/11311-scaleway-scw-profile-var.yml deleted file mode 100644 index 95c19e6bfa..0000000000 --- a/changelogs/fragments/11311-scaleway-scw-profile-var.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - scaleway inventory plugin - added support for ``SCW_PROFILE`` environment variable for the ``scw_profile`` option (https://github.com/ansible-collections/community.general/issues/11310, https://github.com/ansible-collections/community.general/pull/11311). diff --git a/changelogs/fragments/11314-scaleway-scw-profile-var-modules.yml b/changelogs/fragments/11314-scaleway-scw-profile-var-modules.yml deleted file mode 100644 index 61377381cc..0000000000 --- a/changelogs/fragments/11314-scaleway-scw-profile-var-modules.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - scaleway module utils - added ``scw_profile`` parameter with ``SCW_PROFILE`` environment variable support (https://github.com/ansible-collections/community.general/issues/11313, https://github.com/ansible-collections/community.general/pull/11314). diff --git a/changelogs/fragments/11323-lxc-container-tempdir.yml b/changelogs/fragments/11323-lxc-container-tempdir.yml deleted file mode 100644 index 74014bd5d4..0000000000 --- a/changelogs/fragments/11323-lxc-container-tempdir.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - lxc_container - use ``tempfile.TemporaryDirectory()`` instead of ``mkdtemp()`` (https://github.com/ansible-collections/community.general/pull/11323). diff --git a/changelogs/fragments/12.2.0.yml b/changelogs/fragments/12.2.0.yml deleted file mode 100644 index 80287c3b46..0000000000 --- a/changelogs/fragments/12.2.0.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Feature and bugfix release. diff --git a/changelogs/fragments/listen-ports-facts-return-no-facts.yml b/changelogs/fragments/listen-ports-facts-return-no-facts.yml deleted file mode 100644 index 57d0f8602c..0000000000 --- a/changelogs/fragments/listen-ports-facts-return-no-facts.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - listen_ports_facts - fix handling of empty PID lists when ``command=ss`` (https://github.com/ansible-collections/community.general/pull/11332). \ No newline at end of file diff --git a/changelogs/fragments/private.yml b/changelogs/fragments/private.yml deleted file mode 100644 index 01cb29f8fe..0000000000 --- a/changelogs/fragments/private.yml +++ /dev/null @@ -1,8 +0,0 @@ -deprecated_features: - - "All module utils, plugin utils, and doc fragments will be made **private** in community.general 13.0.0. - This means that they will no longer be part of the public API of the collection, and can have breaking - changes even in bugfix releases. If you depend on importing code from the module or plugin utils, - or use one of the doc fragments, please - `comment in the issue to discuss this `__. - Note that this does not affect any use of community.general in task files, roles, or playbooks - (https://github.com/ansible-collections/community.general/issues/11312, https://github.com/ansible-collections/community.general/pull/11320)."