163 KiB
Community General Release Notes
Topics
- v7.5.9
- v7.5.8
- v7.5.7
- v7.5.6
- v7.5.5
- v7.5.4
- v7.5.3
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.0
- v7.3.0
- v7.2.1
- v7.2.0
- v7.1.0
- v7.0.1
- v7.0.0
- Release Summary
- Minor Changes
- Breaking Changes / Porting Guide
- Deprecated Features
- Removed Features (previously deprecated)
- Bugfixes
- New Plugins
- New Modules This changelog describes changes after version 6.0.0.
v7.5.9
Release Summary
Maintenance release.
This is the last 7.x.y release. The 7.x.y release train is now effectively End of Life.
Thanks to everyone who contributed to the community.general 7.x.y releases!
Bugfixes
- ini_file - pass absolute paths to
module.atomic_move()(https://github.com/ansible/ansible/issues/83950, https://github.com/ansible-collections/community.general/pull/8925). - ipa_hostgroup - fix
enabled `` and ``disabledstates (https://github.com/ansible-collections/community.general/issues/8408, https://github.com/ansible-collections/community.general/pull/8900). - java_keystore - pass absolute paths to
module.atomic_move()(https://github.com/ansible/ansible/issues/83950, https://github.com/ansible-collections/community.general/pull/8925). - jenkins_plugin - pass absolute paths to
module.atomic_move()(https://github.com/ansible/ansible/issues/83950, https://github.com/ansible-collections/community.general/pull/8925). - kdeconfig - pass absolute paths to
module.atomic_move()(https://github.com/ansible/ansible/issues/83950, https://github.com/ansible-collections/community.general/pull/8925). - modprobe - fix check mode not being honored for
persistentoption (https://github.com/ansible-collections/community.general/issues/9051, https://github.com/ansible-collections/community.general/pull/9052). - pam_limits - pass absolute paths to
module.atomic_move()(https://github.com/ansible/ansible/issues/83950, https://github.com/ansible-collections/community.general/pull/8925).
v7.5.8
Release Summary
Regular bugfix release.
Note that this is the last regular bugfix release. From now on, the 7.x.y release train will only receive major and security bugfixes.
Minor Changes
- gitlab_deploy_key, gitlab_group_members, gitlab_group_variable, gitlab_hook, gitlab_instance_variable, gitlab_project_badge, gitlab_project_variable, gitlab_user - improve API pagination and compatibility with different versions of
python-gitlab(https://github.com/ansible-collections/community.general/pull/7790).
Security Fixes
- keycloak_identity_provider - the client secret was not correctly sanitized by the module. The return values
proposed,existing, andend_state, as well as the diff, did contain the client secret unmasked (https://github.com/ansible-collections/community.general/pull/8355).
Bugfixes
- gitlab_runner - fix pagination when checking for existing runners (https://github.com/ansible-collections/community.general/pull/7790).
- keycloak_user_federation - fix diff of empty
krbPrincipalAttribute(https://github.com/ansible-collections/community.general/pull/8320). - opentelemetry callback plugin - close spans always (https://github.com/ansible-collections/community.general/pull/8367).
- opentelemetry callback plugin - honour the
disable_logsoption to avoid storing task results since they are not used regardless (https://github.com/ansible-collections/community.general/pull/8373).
v7.5.7
Release Summary
Regular bugfix release.
Bugfixes
- aix_filesystem - fix
_validate_vgnot passing VG name tolsvg_cmd(https://github.com/ansible-collections/community.general/issues/8151). - apt_rpm - when checking whether packages were installed after running
apt-get -y install <packages>, only the last package name was checked (https://github.com/ansible-collections/community.general/pull/8263). - bitwarden_secrets_manager lookup plugin - implements retry with exponential backoff to avoid lookup errors when Bitwardn's API rate limiting is encountered (https://github.com/ansible-collections/community.general/issues/8230, https://github.com/ansible-collections/community.general/pull/8238).
- haproxy - fix an issue where HAProxy could get stuck in DRAIN mode when the backend was unreachable (https://github.com/ansible-collections/community.general/issues/8092).
- inventory plugins - add unsafe wrapper to avoid marking strings that do not contain
{or}as unsafe, to work around a bug in AWX ((https://github.com/ansible-collections/community.general/issues/8212, https://github.com/ansible-collections/community.general/pull/8225). - ipa - fix get version regex in IPA module_utils (https://github.com/ansible-collections/community.general/pull/8175).
- keycloak_client - add sorted
defaultClientScopesandoptionalClientScopesto normalizations (https://github.com/ansible-collections/community.general/pull/8223). - keycloak_realm - add normalizations for
enabledEventTypesandsupportedLocales(https://github.com/ansible-collections/community.general/pull/8224). - puppet - add option
environment_langto set the environment language encoding. Defaults to langC. It is recommended to set it toC.UTF-8oren_US.UTF-8depending on what is available on your system.[https\://github\.com/ansible\-collections/community\.general/issues/8000](https\://github\.com/ansible\-collections/community\.general/issues/8000) - riak - support
riak adminsub-command in newer Riak KV versions beside the legacyriak-adminmain command (https://github.com/ansible-collections/community.general/pull/8211). - xml - make module work with lxml 5.1.1, which removed some internals that the module was relying on (https://github.com/ansible-collections/community.general/pull/8169).
v7.5.6
Release Summary
Regular bugfix release with security fixes.
Security Fixes
- cobbler, gitlab_runners, icinga2, linode, lxd, nmap, online, opennebula, proxmox, scaleway, stackpath_compute, virtualbox, and xen_orchestra inventory plugin - make sure all data received from the remote servers is marked as unsafe, so remote code execution by obtaining texts that can be evaluated as templates is not possible (https://www.die-welt.net/2024/03/remote-code-execution-in-ansible-dynamic-inventory-plugins/, https://github.com/ansible-collections/community.general/pull/8098).
Bugfixes
- aix_filesystem - fix issue with empty list items in crfs logic and option order (https://github.com/ansible-collections/community.general/pull/8052).
- homebrew - error returned from brew command was ignored and tried to parse empty JSON. Fix now checks for an error and raises it to give accurate error message to users (https://github.com/ansible-collections/community.general/issues/8047).
- ipa_hbacrule - the module uses a string for
ipaenabledflagfor new FreeIPA versions while the returned value is a boolean (https://github.com/ansible-collections/community.general/pull/7880). - ipa_sudorule - the module uses a string for
ipaenabledflagfor new FreeIPA versions while the returned value is a boolean (https://github.com/ansible-collections/community.general/pull/7880). - iptables_state - fix idempotency issues when restoring incomplete iptables dumps (https://github.com/ansible-collections/community.general/issues/8029).
- linode inventory plugin - add descriptive error message for linode inventory plugin (https://github.com/ansible-collections/community.general/pull/8133).
- pacemaker_cluster - actually implement check mode, which the module claims to support. This means that until now the module also did changes in check mode (https://github.com/ansible-collections/community.general/pull/8081).
- pam_limits - when the file does not exist, do not create it in check mode (https://github.com/ansible-collections/community.general/issues/8050, https://github.com/ansible-collections/community.general/pull/8057).
- proxmox_kvm - fixed status check getting from node-specific API endpoint (https://github.com/ansible-collections/community.general/issues/7817).
v7.5.5
Release Summary
Regular bugfix release.
Bugfixes
- cargo - fix idempotency issues when using a custom installation path for packages (using the
--pathparameter). The initial installation runs fine, but subsequent runs use theget_installed()function which did not check the given installation location, before runningcargo install. This resulted in a falsechangedstate. Also the removal of packeges usingstate: absentfailed, 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.dor/etc/modules-load.ddid 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 SmartOSraises erratic exceptions and spuriouschanged=true(https://github.com/ansible-collections/community.general/pull/7971). - redfish_info - allow for a GET operation invoked by
GetUpdateStatusto 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
Chassisinformation (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). - ipa_otptoken - the module expect
ipatokendisabledas string but theipatokendisabledvalue is returned as a boolean (https://github.com/ansible-collections/community.general/pull/7795). - ldap - previously the order number
if presentwas 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). - mssql_script - make the module work with Python 2 (https://github.com/ansible-collections/community.general/issues/7818, https://github.com/ansible-collections/community.general/pull/7821).
- nmcli - fix
connection.slave-typewired tobondand not with parameterslave_typein case of connection typewifi(https://github.com/ansible-collections/community.general/issues/7389).
v7.5.3
Release Summary
Regular bugfix release.
Bugfixes
- keycloak_identity_provider -
mappersprocessing 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). - keycloak_identity_provider - it was not possible to reconfigure
add\, removemappersonce they were created initially. Removal was ignored, adding new ones resulted in dropping the pre-existing unmodified mappers. Fix resolves the issue by supplying correct input to the internal update call (https://github.com/ansible-collections/community.general/pull/7418). - keycloak_user - when
forceis set, but user does not exist, do not try to delete it (https://github.com/ansible-collections/community.general/pull/7696). - statusio_maintenance - fix error caused by incorrectly formed API data payload. Was raising "Failed to create maintenance HTTP Error 400 Bad Request" caused by bad data type for date/time and deprecated dict keys (https://github.com/ansible-collections/community.general/pull/7754).
v7.5.2
Release Summary
Regular bugfix release.
Minor Changes
- elastic callback plugin - close elastic client to not leak resources (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).
- interface_files - also consider
address_familywhen changingoption=method(https://github.com/ansible-collections/community.general/issues/7610, https://github.com/ansible-collections/community.general/pull/7612). - irc - replace
ssl.wrap_socketthat was removed from Python 3.12 with code for creating a proper SSL context (https://github.com/ansible-collections/community.general/pull/7542). - keycloak_* - fix Keycloak API client to quote
/properly (https://github.com/ansible-collections/community.general/pull/7641). - keycloak_authz_permission - resource payload variable for scope-based permission was constructed as a string, when it needs to be a list, even for a single item (https://github.com/ansible-collections/community.general/issues/7151).
- log_entries callback plugin - replace
ssl.wrap_socketthat was removed from Python 3.12 with code for creating a proper SSL context (https://github.com/ansible-collections/community.general/pull/7542). - lvol - test for output messages in both
stdoutandstderr(https://github.com/ansible-collections/community.general/pull/7601, https://github.com/ansible-collections/community.general/issues/7182). - ocapi_utils, oci_utils, redfish_utils module utils - replace
type()calls withisinstance()calls (https://github.com/ansible-collections/community.general/pull/7501). - onepassword lookup plugin - field and section titles are now case insensitive when using op CLI version two or later. This matches the behavior of version one (https://github.com/ansible-collections/community.general/pull/7564).
- pipx module utils - change the CLI argument formatter for the
pip_argsparameter (https://github.com/ansible-collections/community.general/issues/7497, https://github.com/ansible-collections/community.general/pull/7506). - redhat_subscription - use the D-Bus registration on RHEL 7 only on 7.4 and greater; older versions of RHEL 7 do not have it (https://github.com/ansible-collections/community.general/issues/7622, https://github.com/ansible-collections/community.general/pull/7624).
- terraform - fix multiline string handling in complex variables (https://github.com/ansible-collections/community.general/pull/7535).
v7.5.1
Release Summary
Regular bugfix release.
Bugfixes
- composer - fix impossible to run
working_dirdependent commands. The module was throwing an error when trying to run aworking_dirdependent command, because it tried to get the command help without passing theworking_dir(https://github.com/ansible-collections/community.general/issues/3787). - github_deploy_key - fix pagination behaviour causing a crash when only a single page of deploy keys exist (https://github.com/ansible-collections/community.general/pull/7375).
- gitlab_group_members - fix gitlab constants call in
gitlab_group_membersmodule (https://github.com/ansible-collections/community.general/issues/7467). - gitlab_project_members - fix gitlab constants call in
gitlab_project_membersmodule (https://github.com/ansible-collections/community.general/issues/7467). - gitlab_protected_branches - fix gitlab constants call in
gitlab_protected_branchesmodule (https://github.com/ansible-collections/community.general/issues/7467). - gitlab_user - fix gitlab constants call in
gitlab_usermodule (https://github.com/ansible-collections/community.general/issues/7467). - kernel_blacklist - simplified the mechanism to update the file, fixing the error (https://github.com/ansible-collections/community.general/pull/7382, https://github.com/ansible-collections/community.general/issues/7362).
- memset module utils - make compatible with ansible-core 2.17 (https://github.com/ansible-collections/community.general/pull/7379).
- proxmox_pool_member - absent state for type VM did not delete VMs from the pools (https://github.com/ansible-collections/community.general/pull/7464).
- redfish_command - fix usage of message parsing in
SimpleUpdateandMultipartHTTPPushUpdatecommands to treat the lack of aMessageIdas no message (https://github.com/ansible-collections/community.general/issues/7465, https://github.com/ansible-collections/community.general/pull/7471). - redhat_subscription - use the right D-Bus options for the consumer type when
registering a RHEL system older than 9 or a RHEL 9 system older than 9.2
and using
consumer_type(https://github.com/ansible-collections/community.general/pull/7378). - selective callback plugin - fix length of task name lines in output always being 3 characters longer than desired (https://github.com/ansible-collections/community.general/pull/7374).
v7.5.0
Release Summary
Regular bugfix and feature release.
Please note that this is the last minor 7.x.0 release. Further releases with major version 7 will be bugfix releases 7.5.y.
Minor Changes
- cargo - add option
executable, which allows user to specify path to the cargo binary (https://github.com/ansible-collections/community.general/pull/7352). - cargo - add option
lockedwhich allows user to specify install the locked version of dependency instead of latest compatible version (https://github.com/ansible-collections/community.general/pull/6134). - dig lookup plugin - add TCP option to enable the use of TCP connection during DNS lookup (https://github.com/ansible-collections/community.general/pull/7343).
- gitlab_group - add option
force_deletedefault\: falsewhich allows delete group even if projects exists in it (https://github.com/ansible-collections/community.general/pull/7364). - ini_file - add
ignore_spacesoption (https://github.com/ansible-collections/community.general/pull/7273). - newrelic_deployment - add option
app_name_exact_match, which filters results for the exact app_name provided (https://github.com/ansible-collections/community.general/pull/7355). - onepassword lookup plugin - introduce
account_idoption which allows specifying which account to use (https://github.com/ansible-collections/community.general/pull/7308). - onepassword_raw lookup plugin - introduce
account_idoption which allows specifying which account to use (https://github.com/ansible-collections/community.general/pull/7308). - parted - on resize, use
--fixoption if available (https://github.com/ansible-collections/community.general/pull/7304). - pnpm - set correct version when state is latest or version is not mentioned. Resolves previous idempotency problem (https://github.com/ansible-collections/community.general/pull/7339).
- proxmox - add
vmidand <code>taskid</code> when possibleto return values (https://github.com/ansible-collections/community.general/pull/7263). - random_string - added new
ignore_similar_charsandsimilar_charsoption to ignore certain chars (https://github.com/ansible-collections/community.general/pull/7242). - redfish_command - add new option
update_oem_paramsfor theMultipartHTTPPushUpdatecommand (https://github.com/ansible-collections/community.general/issues/7331). - redfish_config - add
CreateVolumecommand to allow creation of volumes on servers (https://github.com/ansible-collections/community.general/pull/6813). - redfish_config - adding
SetSecureBootcommand (https://github.com/ansible-collections/community.general/pull/7129). - redfish_info - add support for
GetBiosRegistriescommand (https://github.com/ansible-collections/community.general/pull/7144). - redfish_info - adds
LinkStatusto NIC inventory (https://github.com/ansible-collections/community.general/pull/7318). - redis_info - refactor the redis_info module to use the redis module_utils enabling to pass TLS parameters to the Redis client (https://github.com/ansible-collections/community.general/pull/7267).
- supervisorctl - allow to stop matching running processes before removing them with
stop_before_removing=true(https://github.com/ansible-collections/community.general/pull/7284).
Deprecated Features
- 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-collections/community.general/pull/7259).
- redfish_info, redfish_config, redfish_command - the default value
10for thetimeoutoption is deprecated and will change to60in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/7295).
Bugfixes
- gitlab_group_variable - deleted all variables when used with
purge=truedue to missingrawproperty in KNOWN attributes (https://github.com/ansible-collections/community.general/issues/7250). - gitlab_project_variable - deleted all variables when used with
purge=truedue to missingrawproperty in KNOWN attributes (https://github.com/ansible-collections/community.general/issues/7250). - ldap_search - fix string normalization and the
base64_attributesoption on Python 3 (https://github.com/ansible-collections/community.general/issues/5704, https://github.com/ansible-collections/community.general/pull/7264). - lxc connection plugin - properly evaluate options (https://github.com/ansible-collections/community.general/pull/7369).
- mail - skip headers containing equals characters due to missing
maxspliton header key/value parsing (https://github.com/ansible-collections/community.general/pull/7303). - nmap inventory plugin - fix
get_optioncalls (https://github.com/ansible-collections/community.general/pull/7323). - onepassword - fix KeyError exception when trying to access value of a field that is not filled out in OnePassword item (https://github.com/ansible-collections/community.general/pull/7241).
- snap - change the change detection mechanism from "parsing installation" to "comparing end state with initial state" (https://github.com/ansible-collections/community.general/pull/7340, https://github.com/ansible-collections/community.general/issues/7265).
- terraform - prevents
-backend-configoption double encapsulating withshlex_quotefunction. (https://github.com/ansible-collections/community.general/pull/7301).
New Modules
- community.general.consul_role - Manipulate Consul roles
- community.general.gio_mime - Set default handler for MIME type, for applications using Gnome GIO
- community.general.keycloak_authz_custom_policy - Allows administration of Keycloak client custom Javascript policies via Keycloak API
- community.general.keycloak_realm_key - Allows administration of Keycloak realm keys via Keycloak API
- community.general.simpleinit_msb - Manage services on Source Mage GNU/Linux
v7.4.0
Release Summary
Bugfix and feature release.
Minor Changes
- cobbler inventory plugin - add
exclude_mgmt_classesandinclude_mgmt_classesoptions to exclude or include hosts based on management classes (https://github.com/ansible-collections/community.general/pull/7184). - cpanm - minor refactor when creating the
CmdRunnerobject (https://github.com/ansible-collections/community.general/pull/7231). - gitlab_group_variable - add support for
rawvariables suboption (https://github.com/ansible-collections/community.general/pull/7132). - gitlab_project_variable - add support for
rawvariables suboption (https://github.com/ansible-collections/community.general/pull/7132). - jenkins_build - add new
detachoption, which allows the module to exit successfully as long as the build is createddefault functionality is still waiting for the build to end before exiting(https://github.com/ansible-collections/community.general/pull/7204). - jenkins_build - add new
time_between_checksoption, which allows to configure the wait time between requests to the Jenkins server (https://github.com/ansible-collections/community.general/pull/7204). - make - allows
paramsto be used without value (https://github.com/ansible-collections/community.general/pull/7180). - nmap inventory plugin - now has a
use_arp_pingoption to allow the user to disable the default ARP ping query for a more reliable form (https://github.com/ansible-collections/community.general/pull/7119). - pagerduty - adds in option to use v2 API for creating pagerduty incidents
[https\://github\.com/ansible\-collections/community\.general/issues/6151](https\://github\.com/ansible\-collections/community\.general/issues/6151) - pritunl module utils - ensure
validate_certsparameter is honoured in all methods (https://github.com/ansible-collections/community.general/pull/7156). - redfish_info - report
Idin the output ofGetManagerInventory(https://github.com/ansible-collections/community.general/pull/7140). - redfish_utils module utils - support
Volumesin response forGetDiskInventory(https://github.com/ansible-collections/community.general/pull/6819). - unixy callback plugin - add support for
check_mode_markersoption (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).
- nmap inventory plugin - now uses
get_optionin all cases to get its configuration information (https://github.com/ansible-collections/community.general/pull/7119). - nsupdate - fix a possible
list index out of rangeexception (https://github.com/ansible-collections/community.general/issues/836). - oci_utils module util - fix inappropriate logical comparison expressions and makes them simpler. The previous checks had logical short circuits (https://github.com/ansible-collections/community.general/pull/7125).
- pritunl module utils - fix incorrect URL parameter for orgnization add method (https://github.com/ansible-collections/community.general/pull/7161).
- snap - an exception was being raised when snap list was empty (https://github.com/ansible-collections/community.general/pull/7124, https://github.com/ansible-collections/community.general/issues/7120).
New Modules
- community.general.jenkins_build_info - Get information about Jenkins builds
- community.general.pnpm - Manage node.js packages with pnpm
v7.3.0
Release Summary
Feature and bugfix release.
Minor Changes
- chroot connection plugin - add
disable_root_checkoption (https://github.com/ansible-collections/community.general/pull/7099). - ejabberd_user - module now using
CmdRunnerto execute external command (https://github.com/ansible-collections/community.general/pull/7075). - ipa_config - add module parameters to manage FreeIPA user and group objectclasses (https://github.com/ansible-collections/community.general/pull/7019).
- ipa_config - adds
idpchoice toipauserauthtypeparameter's choices (https://github.com/ansible-collections/community.general/pull/7051). - npm - module now using
CmdRunnerto execute external commands (https://github.com/ansible-collections/community.general/pull/6989). - proxmox_kvm - enabled force restart of VM, bringing the
forceparameter functionality in line with what is described in the docs (https://github.com/ansible-collections/community.general/pull/6914). - proxmox_vm_info -
nodeparameter is no longer required. Information can be obtained for the whole cluster (https://github.com/ansible-collections/community.general/pull/6976). - proxmox_vm_info - non-existing provided by name/vmid VM would return empty results instead of failing (https://github.com/ansible-collections/community.general/pull/7049).
- redfish_config - add
DeleteAllVolumescommand to allow deletion of all volumes on servers (https://github.com/ansible-collections/community.general/pull/6814). - redfish_utils - use
Controllerskey in redfish data to obtain Storage controllers properties (https://github.com/ansible-collections/community.general/pull/7081). - redfish_utils module utils - add support for
PowerCyclereset type forredfish_commandresponses feature (https://github.com/ansible-collections/community.general/issues/7083). - redfish_utils module utils - add support for following
@odata.nextLinkpagination insoftware_inventoryresponses feature (https://github.com/ansible-collections/community.general/pull/7020). - shutdown - use
shutdown -p ...with FreeBSD to halt and power off machine (https://github.com/ansible-collections/community.general/pull/7102). - sorcery - add grimoire
repositorymanagement support (https://github.com/ansible-collections/community.general/pull/7012).
Deprecated Features
- ejabberd_user - deprecate the parameter
loggingin favour of producing more detailed information in the module output (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). - ejabberd_user - module was failing to detect whether user was already created and/or password was changed (https://github.com/ansible-collections/community.general/pull/7033).
- keycloak module util - fix missing
http_agent,timeout, andvalidate_certsopen_url()parameters (https://github.com/ansible-collections/community.general/pull/7067). - keycloak_client inventory plugin - fix missing client secret (https://github.com/ansible-collections/community.general/pull/6931).
- lvol - add support for percentage of origin size specification when creating snapshot volumes (https://github.com/ansible-collections/community.general/issues/1630, https://github.com/ansible-collections/community.general/pull/7053).
- lxc connection plugin - now handles
remote_addrdefaulting toinventory_hostnamecorrectly (https://github.com/ansible-collections/community.general/pull/7104). - oci_utils module utils - avoid direct type comparisons (https://github.com/ansible-collections/community.general/pull/7085).
- proxmox_user_info - avoid direct type comparisons (https://github.com/ansible-collections/community.general/pull/7085).
- snap - fix crash when multiple snaps are specified and one has
---in its description (https://github.com/ansible-collections/community.general/pull/7046). - sorcery - fix interruption of the multi-stage process (https://github.com/ansible-collections/community.general/pull/7012).
- sorcery - fix queue generation before the whole system rebuild (https://github.com/ansible-collections/community.general/pull/7012).
- sorcery - latest state no longer triggers update_cache (https://github.com/ansible-collections/community.general/pull/7012).
v7.2.1
Release Summary
Bugfix release.
Bugfixes
- cmd_runner module utils - when a parameter in
argument_spechas no type, meaning it is implicitly astr,CmdRunnerwould fail trying to find thetypekey in that dictionary (https://github.com/ansible-collections/community.general/pull/6968). - ejabberd_user - provide meaningful error message when the
ejabberdctlcommand is not found (https://github.com/ansible-collections/community.general/pull/7028, https://github.com/ansible-collections/community.general/issues/6949). - proxmox module utils - fix proxmoxer library version check (https://github.com/ansible-collections/community.general/issues/6974, https://github.com/ansible-collections/community.general/issues/6975, https://github.com/ansible-collections/community.general/pull/6980).
- proxmox_kvm - when
nameoption is provided withoutvmidand VM with that name already exists then no new VM will be created (https://github.com/ansible-collections/community.general/issues/6911, https://github.com/ansible-collections/community.general/pull/6981). - rundeck - fix
TypeErroron 404 API response (https://github.com/ansible-collections/community.general/pull/6983).
v7.2.0
Release Summary
Regular bugfix and feature release.
Minor Changes
- cobbler inventory plugin - convert Ansible unicode strings to native Python unicode strings before passing user/password to XMLRPC client (https://github.com/ansible-collections/community.general/pull/6923).
- consul_session - drops requirement for the
python-consullibrary to communicate with the Consul API, instead relying on the existingrequestslibrary requirement (https://github.com/ansible-collections/community.general/pull/6755). - gitlab_project_variable - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6928).
- gitlab_runner - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6927).
- htpasswd - the parameter
crypt_schemeis being renamed ashash_schemeand added as an alias to it (https://github.com/ansible-collections/community.general/pull/6841). - keycloak_authentication - added provider ID choices, since Keycloak supports only those two specific ones (https://github.com/ansible-collections/community.general/pull/6763).
- keyring - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6927).
- locale_gen - module has been refactored to use
ModuleHelperandCmdRunner(https://github.com/ansible-collections/community.general/pull/6903). - locale_gen - module now using
CmdRunnerto execute external commands (https://github.com/ansible-collections/community.general/pull/6820). - make - add new
targetsparameter allowing multiple targets to be used withmake(https://github.com/ansible-collections/community.general/pull/6882, https://github.com/ansible-collections/community.general/issues/4919). - nmcli - add support for
ipv4.dns-optionsandipv6.dns-options(https://github.com/ansible-collections/community.general/pull/6902). - npm - minor improvement on parameter validation (https://github.com/ansible-collections/community.general/pull/6848).
- opkg - add
executableparameter allowing to specify the path of theopkgcommand (https://github.com/ansible-collections/community.general/pull/6862). - pubnub_blocks - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6928).
- redfish_command - add
account_typesandoem_account_typesas optional inputs toAddUser(https://github.com/ansible-collections/community.general/issues/6823, https://github.com/ansible-collections/community.general/pull/6871). - redfish_info - add
AccountTypesandOEMAccountTypesto the output ofListUsers(https://github.com/ansible-collections/community.general/issues/6823, https://github.com/ansible-collections/community.general/pull/6871). - redfish_info - adds
ProcessorArchitectureto CPU inventory (https://github.com/ansible-collections/community.general/pull/6864). - redfish_info - fix for
GetVolumeInventory, Controller name was getting populated incorrectly and duplicates were seen in the volumes retrieved (https://github.com/ansible-collections/community.general/pull/6719). - rhsm_repository - the interaction with
subscription-managerwas refactored by grouping things together, removing unused bits, and hardening the way it is run; also, the parsing ofsubscription-manager repos --listwas improved and made slightly faster; no behaviour change is expected (https://github.com/ansible-collections/community.general/pull/6783, https://github.com/ansible-collections/community.general/pull/6837). - scaleway_security_group_rule - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6928).
- snap - add option
dangerousto the module, that will map into the command line argument--dangerous, allowing unsigned snap files to be installed (https://github.com/ansible-collections/community.general/pull/6908, https://github.com/ansible-collections/community.general/issues/5715). - tss lookup plugin - allow to fetch secret by path. Previously, we could not fetch secret by path but now use
secret_pathoption to indicate to fetch secret by secret path (https://github.com/ansible-collections/community.general/pull/6881). - xenserver_guest_info - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6928).
- xenserver_guest_powerstate - minor refactor removing unnecessary code statements (https://github.com/ansible-collections/community.general/pull/6928).
- yum_versionlock - add support to pin specific package versions instead of only the package itself (https://github.com/ansible-collections/community.general/pull/6861, https://github.com/ansible-collections/community.general/issues/4470).
Deprecated Features
- flowdock - module relies entirely on no longer responsive API endpoints, and it will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/6930).
- proxmox - old feature flag
proxmox_default_behaviorwill be removed in community.general 10.0.0 (https://github.com/ansible-collections/community.general/pull/6836). - stackdriver - 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/6887).
- webfaction_app - 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).
- webfaction_db - 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).
- webfaction_domain - 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).
- 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).
- 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).
Bugfixes
- cobbler inventory plugin - fix calculation of cobbler_ipv4/6_address (https://github.com/ansible-collections/community.general/pull/6925).
- datadog_downtime - presence of
rruleparam lead to the Datadog API returning Bad Request due to a missing recurrence type (https://github.com/ansible-collections/community.general/pull/6811). - ipa_dnszone - fix 'idnsallowsyncptr' key error for reverse zone (https://github.com/ansible-collections/community.general/pull/6906, https://github.com/ansible-collections/community.general/issues/6905).
- keycloak_authentication - fix Keycloak authentication flow
step or sub\-flowindexing during update, if not specified by the user (https://github.com/ansible-collections/community.general/pull/6734). - locale_gen - now works for locales without the underscore character such as
C.UTF-8(https://github.com/ansible-collections/community.general/pull/6774, https://github.com/ansible-collections/community.general/issues/5142, https://github.com/ansible-collections/community.general/issues/4305). - machinectl become plugin - mark plugin as
require_ttyto automatically disable pipelining, with which this plugin is not compatible (https://github.com/ansible-collections/community.general/issues/6932, https://github.com/ansible-collections/community.general/pull/6935). - nmcli - fix support for empty list
in compare and scrape(https://github.com/ansible-collections/community.general/pull/6769). - openbsd_pkg - the pkg_info(1) behavior has changed in OpenBSD >7.3. The error message
Can't findshould not lead to an error case (https://github.com/ansible-collections/community.general/pull/6785). - pacman - module recognizes the output of
yayrunning asroot(https://github.com/ansible-collections/community.general/pull/6713). - proxmox - fix error when a configuration had no
templatefield (https://github.com/ansible-collections/community.general/pull/6838, https://github.com/ansible-collections/community.general/issues/5372). - proxmox module utils - add logic to detect whether an old Promoxer complains about the
token_nameandtoken_valueparameters and provide a better error message when that happens (https://github.com/ansible-collections/community.general/pull/6839, https://github.com/ansible-collections/community.general/issues/5371). - proxmox_disk - fix unable to create
cdrommedia due tosizealways being appended (https://github.com/ansible-collections/community.general/pull/6770). - proxmox_kvm -
absentstate withforcespecified failed to stop the VM due to thetimeoutvalue not being passed tostop_vm(https://github.com/ansible-collections/community.general/pull/6827). - proxmox_kvm -
restartedstate did not actually restart a VM in some VM configurations. The state now uses the Proxmox reboot endpoint instead of calling thestop_vmandstart_vmfunctions (https://github.com/ansible-collections/community.general/pull/6773). - proxmox_template - require
requests_toolbeltmodule to fix issue with uploading large templates (https://github.com/ansible-collections/community.general/issues/5579, https://github.com/ansible-collections/community.general/pull/6757). - redfish_info - fix
ListUsersto not show empty account slots (https://github.com/ansible-collections/community.general/issues/6771, https://github.com/ansible-collections/community.general/pull/6772). - refish_utils module utils - changing variable names to avoid issues occuring when fetching Volumes data (https://github.com/ansible-collections/community.general/pull/6883).
- snap - assume default track
latestin parameterchannelwhen not specified (https://github.com/ansible-collections/community.general/pull/6835, https://github.com/ansible-collections/community.general/issues/6821). - snap - fix the processing of the commands' output, stripping spaces and newlines from it (https://github.com/ansible-collections/community.general/pull/6826, https://github.com/ansible-collections/community.general/issues/6803).
New Plugins
Lookup
- community.general.bitwarden_secrets_manager - Retrieve secrets from Bitwarden Secrets Manager
New Modules
- community.general.consul_policy - Manipulate Consul policies
- community.general.keycloak_authz_permission - Allows administration of Keycloak client authorization permissions via Keycloak API
- community.general.keycloak_authz_permission_info - Query Keycloak client authorization permissions information
- community.general.proxmox_vm_info - Retrieve information about one or more Proxmox VE virtual machines
v7.1.0
Release Summary
Regular bugfix and feature release.
From this version on, community.general is using the new Ansible semantic markup in its documentation. If you look at documentation with the ansible-doc CLI tool from ansible-core before 2.15, please note that it does not render the markup correctly. You should be still able to read it in most cases, but you need ansible-core 2.15 or later to see it as it is intended. Alternatively you can look at the devel docsite for the rendered HTML version of the documentation of the latest release.
Minor Changes
- The collection will start using semantic markup (https://github.com/ansible-collections/community.general/pull/6539).
- VarDict module utils - add method
VarDict.as_dict()to convert to a plaindictobject (https://github.com/ansible-collections/community.general/pull/6602). - cobbler inventory plugin - add
inventory_hostnameoption to allow using the system name for the inventory hostname (https://github.com/ansible-collections/community.general/pull/6502). - cobbler inventory plugin - add
want_ip_addressesoption to collect all interface DNS name to IP address mapping (https://github.com/ansible-collections/community.general/pull/6711). - cobbler inventory plugin - add primary IP addess to
cobbler_ipv4_addressand IPv6 address tocobbler_ipv6_addresshost variable (https://github.com/ansible-collections/community.general/pull/6711). - cobbler inventory plugin - add warning for systems with empty profiles (https://github.com/ansible-collections/community.general/pull/6502).
- copr - respawn module to use the system python interpreter when the
dnfpython module is not available inansible_python_interpreter(https://github.com/ansible-collections/community.general/pull/6522). - datadog_monitor - adds
notification_preset_name,renotify_occurrencesandrenotify_statusesparameters (https://github.com/ansible-collections/community.general/issues/6521,https://github.com/ansible-collections/community.general/issues/5823). - filesystem - add
uuidparameter for UUID change feature (https://github.com/ansible-collections/community.general/pull/6680). - keycloak_client_rolemapping - adds support for subgroups with additional parameter
parents(https://github.com/ansible-collections/community.general/pull/6687). - keycloak_role - add composite roles support for realm and client roles (https://github.com/ansible-collections/community.general/pull/6469).
- ldap_* - add new arguments
client_certandclient_keyto the LDAP modules in order to allow certificate authentication (https://github.com/ansible-collections/community.general/pull/6668). - ldap_search - add a new
page_sizeoption to enable paged searches (https://github.com/ansible-collections/community.general/pull/6648). - lvg - add
activeandinactivevalues to thestateoption for active state management feature (https://github.com/ansible-collections/community.general/pull/6682). - lvg - add
reset_vg_uuid,reset_pv_uuidoptions for UUID reset feature (https://github.com/ansible-collections/community.general/pull/6682). - mas - disable sign-in check for macOS 12+ as
mas accountis non-functional (https://github.com/ansible-collections/community.general/pull/6520). - onepassword lookup plugin - add service account support (https://github.com/ansible-collections/community.general/issues/6635, https://github.com/ansible-collections/community.general/pull/6660).
- onepassword_raw lookup plugin - add service account support (https://github.com/ansible-collections/community.general/issues/6635, https://github.com/ansible-collections/community.general/pull/6660).
- opentelemetry callback plugin - add span attributes in the span event (https://github.com/ansible-collections/community.general/pull/6531).
- opkg - remove default value
""for parameterforceas it causes the same behaviour of not having that parameter (https://github.com/ansible-collections/community.general/pull/6513). - proxmox - support
timezoneparameter at container creation (https://github.com/ansible-collections/community.general/pull/6510). - proxmox inventory plugin - add composite variables support for Proxmox nodes (https://github.com/ansible-collections/community.general/issues/6640).
- proxmox_kvm - added support for
tpmstate0parameter to configure TPMTrusted Platform Moduledisk. TPM is required for Windows 11 installations (https://github.com/ansible-collections/community.general/pull/6533). - proxmox_kvm - re-use
timeoutmodule param to forcefully shutdown a virtual machine whenstateisstopped(https://github.com/ansible-collections/community.general/issues/6257). - proxmox_snap - add
retentionparameter to delete old snapshots (https://github.com/ansible-collections/community.general/pull/6576). - redfish_command - add
MultipartHTTPPushUpdatecommand (https://github.com/ansible-collections/community.general/issues/6471, https://github.com/ansible-collections/community.general/pull/6612). - redhat_subscription - the internal
RegistrationBaseclass was folded into the other internalRhsmclass, as the separation had no purpose anymore (https://github.com/ansible-collections/community.general/pull/6658). - rhsm_release - improve/harden the way
subscription-manageris run; no behaviour change is expected (https://github.com/ansible-collections/community.general/pull/6669). - snap - module is now aware of channel when deciding whether to install or refresh the snap (https://github.com/ansible-collections/community.general/pull/6435, https://github.com/ansible-collections/community.general/issues/1606).
- sorcery - minor refactor (https://github.com/ansible-collections/community.general/pull/6525).
- tss lookup plugin - allow to fetch secret IDs which are in a folder based on folder ID. Previously, we could not fetch secrets based on folder ID but now use
fetch_secret_ids_from_folderoption to indicate to fetch secret IDs based on folder ID (https://github.com/ansible-collections/community.general/issues/6223).
Deprecated Features
- CmdRunner module utils - deprecate
cmd_runner_fmt.as_default_type()formatter (https://github.com/ansible-collections/community.general/pull/6601). - MH VarsMixin module utils - deprecates
VarsMixinand supporting classes in favor of plainvardictmodule util (https://github.com/ansible-collections/community.general/pull/6649). - cpanm - value
compatibilityis deprecated as default for parametermode(https://github.com/ansible-collections/community.general/pull/6512). - redhat module utils - the
module_utils.redhatmodule is deprecated, as effectively unused: theRhsm,RhsmPool, andRhsmPoolsclasses will be removed in community.general 9.0.0; theRegistrationBaseclass will be removed in community.general 10.0.0 together with therhn_registermodule, as it is the only user of this class; this means that the wholemodule_utils.redhatmodule will be dropped in community.general 10.0.0, so importing it without even using anything of it will fail (https://github.com/ansible-collections/community.general/pull/6663). - redhat_subscription - the
autosubscribealias for theauto_attachoption has been deprecated for many years, although only in the documentation. Officially mark this alias as deprecated, and it will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/6646). - redhat_subscription - the
pooloption is deprecated in favour of the more precise and flexiblepool_idsoption (https://github.com/ansible-collections/community.general/pull/6650). - rhsm_repository -
state=presenthas not been working as expected for many years, and it seems it was not noticed so far; also, "presence" is not really a valid concept for subscription repositories, which can only be enabled or disabled. Hence, mark thepresentandabsentvalues of thestateoption as deprecated, slating them for removal in community.general 10.0.0 (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/issues/6639).
- csv module utils - detects and remove unicode BOM markers from incoming CSV content (https://github.com/ansible-collections/community.general/pull/6662).
- gitlab_group - the module passed parameters to the API call even when not set. The module is now filtering out
Nonevalues to remediate this (https://github.com/ansible-collections/community.general/pull/6712). - icinga2_host - fix a key error when updating an existing host (https://github.com/ansible-collections/community.general/pull/6748).
- ini_file - add the
followparamter to follow the symlinks instead of replacing them (https://github.com/ansible-collections/community.general/pull/6546). - ini_file - fix a bug where the inactive options were not used when possible (https://github.com/ansible-collections/community.general/pull/6575).
- keycloak module utils - fix
is_struct_includedhandling of lists of lists/dictionaries (https://github.com/ansible-collections/community.general/pull/6688). - keycloak module utils - the function
get_user_by_usernamenow return the user representation orNoneas stated in the documentation (https://github.com/ansible-collections/community.general/pull/6758). - proxmox_kvm - allow creation of VM with existing name but new vmid (https://github.com/ansible-collections/community.general/issues/6155, https://github.com/ansible-collections/community.general/pull/6709).
- rhsm_repository - when using the
purgeoption, therepositoriesdictionary element in the returned JSON is now properly updated according to the pruning operation (https://github.com/ansible-collections/community.general/pull/6676). - tss lookup plugin - fix multiple issues when using
fetch_attachments=true(https://github.com/ansible-collections/community.general/pull/6720).
Known Issues
- Ansible markup will show up in raw form on ansible-doc text output for ansible-core before 2.15. If you have trouble deciphering the documentation markup, please upgrade to ansible-core 2.15 (or newer), or read the HTML documentation on https://docs.ansible.com/ansible/devel/collections/community/general/ (https://github.com/ansible-collections/community.general/pull/6539).
New Modules
- community.general.gitlab_instance_variable - Creates, updates, or deletes GitLab instance variables
- community.general.gitlab_merge_request - Create, update, or delete GitLab merge requests
- community.general.keycloak_authentication_required_actions - Allows administration of Keycloak authentication required actions
- community.general.keycloak_user - Create and configure a user in Keycloak
- community.general.lvg_rename - Renames LVM volume groups
- community.general.proxmox_pool - Pool management for Proxmox VE cluster
- community.general.proxmox_pool_member - Add or delete members from Proxmox VE cluster pools
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). - portage - fix
changed_useandnewusenot triggering rebuilds (https://github.com/ansible-collections/community.general/issues/6008, https://github.com/ansible-collections/community.general/pull/6548). - proxmox_tasks_info - remove
api_user+api_passwordconstraint fromrequired_togetheras it causes to requireapi_passwordeven when API token param is used (https://github.com/ansible-collections/community.general/issues/6201). - zypper - added handling of zypper exitcode 102. Changed state is set correctly now and rc 102 is still preserved to be evaluated by the playbook (https://github.com/ansible-collections/community.general/pull/6534).
v7.0.0
Release Summary
This is release 7.0.0 of community.general, released on 2023-05-09.
Minor Changes
- apache2_module - add module argument
warn_mpm_absentto control whether warning are raised in some edge cases (https://github.com/ansible-collections/community.general/pull/5793). - apt_rpm - adds
clean,dist_upgradeandupdate_kernelparameters for clear caches, complete upgrade system, and upgrade kernel packages (https://github.com/ansible-collections/community.general/pull/5867). - bitwarden lookup plugin - can now retrieve secrets from custom fields (https://github.com/ansible-collections/community.general/pull/5694).
- bitwarden lookup plugin - implement filtering results by
collection_idparameter (https://github.com/ansible-collections/community.general/issues/5849). - cmd_runner module utils -
cmd_runner_fmt.as_bool()can now take an extra parameter to format when value is false (https://github.com/ansible-collections/community.general/pull/5647). - cpanm - minor change, use feature from
ModuleHelper(https://github.com/ansible-collections/community.general/pull/6385). - dconf - be forgiving about boolean values: convert them to GVariant booleans automatically (https://github.com/ansible-collections/community.general/pull/6206).
- dconf - if
gi.repository.GLibis missing, try to respawn in a Python interpreter that has it (https://github.com/ansible-collections/community.general/pull/6491). - dconf - minor refactoring improving parameters and dependencies validation (https://github.com/ansible-collections/community.general/pull/6336).
- dconf - parse GVariants for equality comparison when the Python module
gi.repositoryis available (https://github.com/ansible-collections/community.general/pull/6049). - deps module utils - add function
failed()providing the ability to check the dependency check result without triggering an exception (https://github.com/ansible-collections/community.general/pull/6383). - dig lookup plugin - Support multiple domains to be queried as indicated in docs (https://github.com/ansible-collections/community.general/pull/6334).
- dig lookup plugin - support CAA record type (https://github.com/ansible-collections/community.general/pull/5913).
- dnsimple - set custom User-Agent for API requests to DNSimple (https://github.com/ansible-collections/community.general/pull/5927).
- dnsimple_info - minor refactor in the code (https://github.com/ansible-collections/community.general/pull/6440).
- flatpak_remote - add new boolean option
enabled. It controls, whether the remote is enabled or not (https://github.com/ansible-collections/community.general/pull/5926). - gconftool2 - refactor using
ModuleHelperandCmdRunner(https://github.com/ansible-collections/community.general/pull/5545). - gitlab_group_variable, gitlab_project_variable - refactor function out to module utils (https://github.com/ansible-collections/community.general/pull/6384).
- gitlab_project - add
builds_access_level,container_registry_access_levelandforking_access_leveloptions (https://github.com/ansible-collections/community.general/pull/5706). - gitlab_project - add
releases_access_level,environments_access_level,feature_flags_access_level,infrastructure_access_level,monitor_access_level, andsecurity_and_compliance_access_leveloptions (https://github.com/ansible-collections/community.general/pull/5986). - gitlab_project - add new option
topicsfor adding topics to GitLab projects (https://github.com/ansible-collections/community.general/pull/6278). - gitlab_runner - add new boolean option
access_level_on_creation. It controls, whether the value ofaccess_levelis used for runner registration or not. The optionaccess_levelhas been ignored on registration so far and was only used on updates (https://github.com/ansible-collections/community.general/issues/5907, https://github.com/ansible-collections/community.general/pull/5908). - gitlab_runner - allow to register group runner (https://github.com/ansible-collections/community.general/pull/3935).
- homebrew_cask - allows passing
--greedyoption toupgrade_all(https://github.com/ansible-collections/community.general/pull/6267). - idrac_redfish_command - add
job_idtoCreateBiosConfigJobresponse (https://github.com/ansible-collections/community.general/issues/5603). - ilo_redfish_utils module utils - change implementation of DNS Server IP and NTP Server IP update (https://github.com/ansible-collections/community.general/pull/5804).
- ipa_group - allow to add and remove external users with the
external_useroption (https://github.com/ansible-collections/community.general/pull/5897). - ipa_hostgroup - add
appendparameter for adding a new hosts to existing hostgroups without changing existing hostgroup members (https://github.com/ansible-collections/community.general/pull/6203). - iptables_state - minor refactoring within the module (https://github.com/ansible-collections/community.general/pull/5844).
- java_certs - add more detailed error output when extracting certificate from PKCS12 fails (https://github.com/ansible-collections/community.general/pull/5550).
- jc filter plugin - added the ability to use parser plugins (https://github.com/ansible-collections/community.general/pull/6043).
- jenkins_plugin - refactor code to module util to fix sanity check (https://github.com/ansible-collections/community.general/pull/5565).
- jira - add worklog functionality (https://github.com/ansible-collections/community.general/issues/6209, https://github.com/ansible-collections/community.general/pull/6210).
- keycloak_authentication - add flow type option to sub flows to allow the creation of 'form-flow' sub flows like in Keycloak's built-in registration flow (https://github.com/ansible-collections/community.general/pull/6318).
- keycloak_group - add new optional module parameter
parentsto properly handle keycloak subgroups (https://github.com/ansible-collections/community.general/pull/5814). - keycloak_user_federation - make
org.keycloak.storage.ldap.mappers.LDAPStorageMapperthe default value for mappersproviderType(https://github.com/ansible-collections/community.general/pull/5863). - ldap modules - add
ca_pathoption (https://github.com/ansible-collections/community.general/pull/6185). - ldap modules - add
xorder_discoveryoption (https://github.com/ansible-collections/community.general/issues/6045, https://github.com/ansible-collections/community.general/pull/6109). - ldap_search - the new
base64_attributesallows to specify which attribute values should be Base64 encoded (https://github.com/ansible-collections/community.general/pull/6473). - lxd_container - add diff and check mode (https://github.com/ansible-collections/community.general/pull/5866).
- lxd_project - refactored code out to module utils to clear sanity check (https://github.com/ansible-collections/community.general/pull/5549).
- make - add
commandreturn value to the module output (https://github.com/ansible-collections/community.general/pull/6160). - mattermost, rocketchat, slack - replace missing default favicon with docs.ansible.com favicon (https://github.com/ansible-collections/community.general/pull/5928).
- mksysb - improved the output of the module in case of errors (https://github.com/ansible-collections/community.general/issues/6263).
- modprobe - add
persistentoption (https://github.com/ansible-collections/community.general/issues/4028, https://github.com/ansible-collections/community.general/pull/542). - module_helper module utils - updated the imports to make more MH features available at
plugins/module_utils/module_helper.py(https://github.com/ansible-collections/community.general/pull/6464). - mssql_script - allow for
GOstatement to be mixed-case for scripts not using strict syntax (https://github.com/ansible-collections/community.general/pull/6457). - mssql_script - handle error condition for empty resultsets to allow for non-returning SQL statements
for example <code>UPDATE</code> and <code>INSERT</code>(https://github.com/ansible-collections/community.general/pull/6457). - mssql_script - improve batching logic to allow a wider variety of input scripts. For example, SQL scripts slurped from Windows machines which may contain carriage return
\'\'r\'\'characters (https://github.com/ansible-collections/community.general/pull/6457). - nmap inventory plugin - add new option
openfor only returning open ports (https://github.com/ansible-collections/community.general/pull/6200). - nmap inventory plugin - add new option
portfor port specific scan (https://github.com/ansible-collections/community.general/pull/6165). - nmap inventory plugin - add new options
udp_scan,icmp_timestamp, anddns_resolvefor different types of scans (https://github.com/ansible-collections/community.general/pull/5566). - nmap inventory plugin - added environment variables for configure
addressandexclude(https://github.com/ansible-collections/community.general/issues/6351). - nmcli - add
defaultanddefault-or-eui64to the list of valid choices foraddr_gen_mode6parameter (https://github.com/ansible-collections/community.general/pull/5974). - nmcli - add
macvlanconnection type (https://github.com/ansible-collections/community.general/pull/6312). - nmcli - add support for
team.runner-fast-rateparameter forteamconnections (https://github.com/ansible-collections/community.general/issues/6065). - nmcli - new module option
slave_typeadded to allow creation of various types of slave devices (https://github.com/ansible-collections/community.general/issues/473, https://github.com/ansible-collections/community.general/pull/6108). - one_vm - add a new
updateconfoption which implements theone.vm.updateconfAPI call (https://github.com/ansible-collections/community.general/pull/5812). - openbsd_pkg - set
TERMto'dumb'inexecute_command()to make module less dependant on theTERMenvironment variable set on the Ansible controller (https://github.com/ansible-collections/community.general/pull/6149). - opkg - allow installing a package in a certain version (https://github.com/ansible-collections/community.general/pull/5688).
- opkg - refactored module to use
CmdRunnerfor executingopkg(https://github.com/ansible-collections/community.general/pull/5718). - osx_defaults - include stderr in error messages (https://github.com/ansible-collections/community.general/pull/6011).
- pipx - add
system_site_packagesparameter to give application access to system-wide packages (https://github.com/ansible-collections/community.general/pull/6308). - pipx - ensure
include_injectedparameter works withstate=upgradeandstate=latest(https://github.com/ansible-collections/community.general/pull/6212). - pipx - optional
install_appsparameter added to install applications from injected packages (https://github.com/ansible-collections/community.general/pull/6198). - proxmox - added new module parameter
tagsfor use with PVE 7+ (https://github.com/ansible-collections/community.general/pull/5714). - proxmox - suppress urllib3
InsecureRequestWarningswhenvalidate_certsoption isfalse(https://github.com/ansible-collections/community.general/pull/5931). - proxmox_kvm - add new
archiveparameter. This is needed to create a VM from an archivebackup(https://github.com/ansible-collections/community.general/pull/6159). - proxmox_kvm - adds
migrateparameter to manage online migrations between hosts[https\://github\.com/ansible\-collections/community\.general/pull/6448](https\://github\.com/ansible\-collections/community\.general/pull/6448) - puppet - add new options
skip_tagsto exclude certain tagged resources during a puppet agent or apply (https://github.com/ansible-collections/community.general/pull/6293). - puppet - refactored module to use
CmdRunnerfor executingpuppet(https://github.com/ansible-collections/community.general/pull/5612). - rax_scaling_group - refactored out code to the
raxmodule utils to clear the sanity check (https://github.com/ansible-collections/community.general/pull/5563). - redfish_command - add
PerformRequestedOperationscommand to perform any operations necessary to continue the update flow (https://github.com/ansible-collections/community.general/issues/4276). - redfish_command - add
update_apply_timetoSimpleUpdatecommand (https://github.com/ansible-collections/community.general/issues/3910). - redfish_command - add
update_statusto output ofSimpleUpdatecommand to allow a user monitor the update in progress (https://github.com/ansible-collections/community.general/issues/4276). - redfish_command - adding
EnableSecureBootfunctionality (https://github.com/ansible-collections/community.general/pull/5899). - redfish_command - adding
VerifyBiosAttributesfunctionality (https://github.com/ansible-collections/community.general/pull/5900). - redfish_info - add
GetUpdateStatuscommand to check the progress of a previous update request (https://github.com/ansible-collections/community.general/issues/4276). - redfish_info - adds commands to retrieve the HPE ThermalConfiguration and FanPercentMinimum settings from iLO (https://github.com/ansible-collections/community.general/pull/6208).
- redfish_utils module utils - added PUT (
put_request()) functionality (https://github.com/ansible-collections/community.general/pull/5490). - redhat_subscription - add a
server_proxy_schemeparameter to configure the scheme for the proxy server (https://github.com/ansible-collections/community.general/pull/5662). - redhat_subscription - adds
tokenparameter for subscription-manager authentication using Red Hat API token (https://github.com/ansible-collections/community.general/pull/5725). - redhat_subscription - credentials
<code>username</code>\, <code>activationkey</code>\, and so onare required now only if a system needs to be registered, orforce_registeris specified (https://github.com/ansible-collections/community.general/pull/5664). - redhat_subscription - the registration is done using the D-Bus
rhsmservice instead of spawning asubscription-manager registercommand, if possible; this avoids passing plain-text credentials as arguments tosubscription-manager register, which can be seen while that command runs (https://github.com/ansible-collections/community.general/pull/6122). - sefcontext - add support for path substitutions (https://github.com/ansible-collections/community.general/issues/1193).
- shutdown - if no shutdown commands are found in the
search_pathsthen the module will attempt to shutdown the system usingsystemctl shutdown(https://github.com/ansible-collections/community.general/issues/4269, https://github.com/ansible-collections/community.general/pull/6171). - slack - add option
prepend_hashwhich allows to control whether a#is prepended tochannel_id. The current behaviorvalue <code>auto</code>is to prepend#unless some specific prefixes are found. That list of prefixes is incomplete, and there does not seem to exist a documented condition on when exactly#must not be prepended. We recommend to explicitly setprepend_hash=alwaysorprepend_hash=neverto avoid any ambiguity (https://github.com/ansible-collections/community.general/pull/5629). - snap - minor refactor when executing module (https://github.com/ansible-collections/community.general/pull/5773).
- snap - refactor module to use
CmdRunnerto execute external commands (https://github.com/ansible-collections/community.general/pull/6468). - snap_alias - refactor code to module utils (https://github.com/ansible-collections/community.general/pull/6441).
- snap_alias - refactored module to use
CmdRunnerto executesnap(https://github.com/ansible-collections/community.general/pull/5486). - spotinst_aws_elastigroup - add
elementsattribute when missing inlistparameters (https://github.com/ansible-collections/community.general/pull/5553). - ssh_config - add
host_key_algorithmsoption (https://github.com/ansible-collections/community.general/pull/5605). - ssh_config - add
proxyjumpoption (https://github.com/ansible-collections/community.general/pull/5970). - ssh_config - refactor code to module util to fix sanity check (https://github.com/ansible-collections/community.general/pull/5720).
- ssh_config - vendored StormSSH's config parser to avoid having to install StormSSH to use the module (https://github.com/ansible-collections/community.general/pull/6117).
- sudoers - add
setenvparameters to support passing environment variables via sudo.[https\://github\.com/ansible\-collections/community\.general/pull/5883](https\://github\.com/ansible\-collections/community\.general/pull/5883) - sudoers - adds
hostparameter for setting hostname restrictions in sudoers rules (https://github.com/ansible-collections/community.general/issues/5702). - terraform - remove state file check condition and error block, because in the native implementation of terraform will not cause errors due to the non-existent file (https://github.com/ansible-collections/community.general/pull/6296).
- udm_dns_record - minor refactor to the code (https://github.com/ansible-collections/community.general/pull/6382).
- udm_share - added
elementsattribute tolisttype parameters (https://github.com/ansible-collections/community.general/pull/5557). - udm_user - add
elementsattribute when missing inlistparameters (https://github.com/ansible-collections/community.general/pull/5559). - znode module - optional
use_tlsparameter added for encrypted communication (https://github.com/ansible-collections/community.general/issues/6154).
Breaking Changes / Porting Guide
- If you are not using this collection as part of Ansible, but installed
and/or upgradedcommunity.general manually, you need to make sure to also installcommunity.sap_libsif you are using any of thesapcar_extract,sap_task_list_execute, andhana_querymodules. Without that collection installed, the redirects for these modules do not work. - ModuleHelper module utils - when the module sets output variables named
msg,exception,output,vars, orchanged, the actual output will prefix those names with_underscore symbolonly when they clash with output variables generated by ModuleHelper itself, which only occurs when handling exceptions. Please note that this breaking change does not require a new major release since before this release, it was not possible to add such variables to the output due to a bug (https://github.com/ansible-collections/community.general/pull/5765). - gconftool2 - fix processing of
gconftool-2whenkeydoes not exist, returningnullinstead of empty string for bothvalueandprevious_valuereturn values (https://github.com/ansible-collections/community.general/issues/6028). - gitlab_runner - the default of
access_level_on_creationchanged fromfalsetotrue(https://github.com/ansible-collections/community.general/pull/6428). - ldap_search - convert all string-like values to UTF-8 (https://github.com/ansible-collections/community.general/issues/5704, https://github.com/ansible-collections/community.general/pull/6473).
- nmcli - the default of the
hairpinoption changed fromtruetofalse(https://github.com/ansible-collections/community.general/pull/6428). - proxmox - the default of the
unprivilegedoption changed fromfalsetotrue(https://github.com/ansible-collections/community.general/pull/6428).
Deprecated Features
- ModuleHelper module_utils -
depsmixin for MH classes deprecated in favour of using thedepsmodule_utils (https://github.com/ansible-collections/community.general/pull/6465). - consul - deprecate using parameters unused for
state=absent(https://github.com/ansible-collections/community.general/pull/5772). - gitlab_runner - the default of the new option
access_level_on_creationwill change fromfalsetotruein community.general 7.0.0. This will causeaccess_levelto be used during runner registration as well, and not only during updates (https://github.com/ansible-collections/community.general/pull/5908). - gitlab_runner - the option
access_levelwill lose its default value in community.general 8.0.0. From that version on, you have set this option toref_protectedexplicitly, if you want to have a protected runner (https://github.com/ansible-collections/community.general/issues/5925). - manageiq_policies - deprecate
state=listin favour of usingcommunity.general.manageiq_policies_info(https://github.com/ansible-collections/community.general/pull/5721). - manageiq_tags - deprecate
state=listin favour of usingcommunity.general.manageiq_tags_info(https://github.com/ansible-collections/community.general/pull/5727). - rax - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax module utils - module utils code relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_cbs - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_cbs_attachments - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_cdb - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_cdb_database - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_cdb_user - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_clb - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_clb_nodes - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_clb_ssl - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_dns - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_dns_record - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_facts - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_files - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_files_objects - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_identity - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_keypair - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_meta - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_mon_alarm - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_mon_check - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_mon_entity - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_mon_notification - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_mon_notification_plan - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_network - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_queue - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_scaling_group - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rax_scaling_policy - module relies on deprecated library
pyraxand will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5752). - rhn_channel, rhn_register - RHN hosted at redhat.com was discontinued years
ago, and Spacewalk 5
which uses RHNis EOL since 2020, May 31st; while these modules could work on Uyuni / SUSE Manager (fork of Spacewalk 5), we have not heard about anyone using them in those setups. Hence, these modules are deprecated, and will be removed in community.general 10.0.0 in case there are no reports about being still useful, and potentially no one that steps up to maintain them (https://github.com/ansible-collections/community.general/pull/6493).
Removed Features previously deprecated
- All
sapmodules have been removed from this collection. They have been migrated to the community.sap_libs collection. Redirections have been provided. Following modules are affected: - sapcar_extract - sap_task_list_execute - hana_query - cmd_runner module utils - the
fmtalias ofcmd_runner_fmthas been removed. Usecmd_runner_fmtinstead (https://github.com/ansible-collections/community.general/pull/6428). - newrelic_deployment - the
appnameandenvironmentoptions have been removed. They did not do anything (https://github.com/ansible-collections/community.general/pull/6428). - puppet - the alias
show-diffof theshow_diffoption has been removed. Useshow_diffinstead (https://github.com/ansible-collections/community.general/pull/6428). - xfconf - generating facts was deprecated in community.general 3.0.0, however three factoids,
property,channelandvaluecontinued to be generated by mistake. This behaviour has been removed andxfconfgenerate no facts whatsoever (https://github.com/ansible-collections/community.general/pull/5502). - xfconf - generating facts was deprecated in community.general 3.0.0, however two factoids,
previous_valueandtypecontinued to be generated by mistake. This behaviour has been removed andxfconfgenerate no facts whatsoever (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).
- alternatives - support subcommands on Fedora 37, which uses
followerinstead ofslave(https://github.com/ansible-collections/community.general/pull/5794). - ansible_galaxy_install - set default to raise exception if command's return code is different from zero (https://github.com/ansible-collections/community.general/pull/5680).
- ansible_galaxy_install - try
C.UTF-8and then fall back toen_US.UTF-8before failing (https://github.com/ansible-collections/community.general/pull/5680). - archive - avoid deprecated exception class on Python 3 (https://github.com/ansible-collections/community.general/pull/6180).
- archive - reduce RAM usage by generating CRC32 checksum over chunks (https://github.com/ansible-collections/community.general/pull/6274).
- bitwarden lookup plugin - clarify what to do, if the bitwarden vault is not unlocked (https://github.com/ansible-collections/community.general/pull/5811).
- cartesian and flattened lookup plugins - adjust to parameter deprecation in ansible-core 2.14's
listify_lookup_plugin_termshelper function (https://github.com/ansible-collections/community.general/pull/6074). - chroot connection plugin - add
inventory_hostnameto vars underremote_addr. This is needed for compatibility with ansible-core 2.13 (https://github.com/ansible-collections/community.general/pull/5570). - cloudflare_dns - fixed the idempotency for SRV DNS records (https://github.com/ansible-collections/community.general/pull/5972).
- cloudflare_dns - fixed the possiblity of setting a root-level SRV DNS record (https://github.com/ansible-collections/community.general/pull/5972).
- cmd_runner module utils - fixed bug when handling default cases in
cmd_runner_fmt.as_map()(https://github.com/ansible-collections/community.general/pull/5538). - cmd_runner module utils - formatting arguments
cmd_runner_fmt.as_fixed()was expecting an non-existing argument (https://github.com/ansible-collections/community.general/pull/5538). - dependent lookup plugin - avoid warning on deprecated parameter for
Templar.template()(https://github.com/ansible-collections/community.general/pull/5543). - deps module utils - do not fail when dependency cannot be found (https://github.com/ansible-collections/community.general/pull/6479).
- dig lookup plugin - correctly handle DNSKEY record type's
algorithmfield (https://github.com/ansible-collections/community.general/pull/5914). - flatpak - fixes idempotency detection issues. In some cases the module could fail to properly detect already existing Flatpaks because of a parameter witch only checks the installed apps (https://github.com/ansible-collections/community.general/pull/6289).
- gconftool2 - fix
changedresult always beingtrue(https://github.com/ansible-collections/community.general/issues/6028). - gconftool2 - remove requirement of parameter
valuewhenstate=absent(https://github.com/ansible-collections/community.general/issues/6028). - gem - fix force parameter not being passed to gem command when uninstalling (https://github.com/ansible-collections/community.general/pull/5822).
- gem - fix hang due to interactive prompt for confirmation on specific version uninstall (https://github.com/ansible-collections/community.general/pull/5751).
- github_webhook - fix always changed state when no secret is provided (https://github.com/ansible-collections/community.general/pull/5994).
- gitlab_deploy_key - also update
titleand not justcan_push(https://github.com/ansible-collections/community.general/pull/5888). - gitlab_group_variables - fix dropping variables accidentally when GitLab introduced new properties (https://github.com/ansible-collections/community.general/pull/5667).
- gitlab_project_variables - fix dropping variables accidentally when GitLab introduced new properties (https://github.com/ansible-collections/community.general/pull/5667).
- gitlab_runner - fix
KeyErroron runner creation and update (https://github.com/ansible-collections/community.general/issues/6112). - icinga2_host - fix the data structure sent to Icinga to make use of host templates and template vars (https://github.com/ansible-collections/community.general/pull/6286).
- idrac_redfish_command - allow user to specify
resource_idforCreateBiosConfigJobto specify an exact manager (https://github.com/ansible-collections/community.general/issues/2090). - influxdb_user - fix running in check mode when the user does not exist yet (https://github.com/ansible-collections/community.general/pull/6111).
- ini_file - make
sectionparameter not required so it is possible to passnullas a value. This only was possible in the past due to a bug in ansible-core that now has been fixed (https://github.com/ansible-collections/community.general/pull/6404). - interfaces_file - fix reading options in lines not starting with a space (https://github.com/ansible-collections/community.general/issues/6120).
- jail connection plugin - add
inventory_hostnameto vars underremote_addr. This is needed for compatibility with ansible-core 2.13 (https://github.com/ansible-collections/community.general/pull/6118). - jenkins_build - fix the logical flaw when deleting a Jenkins build (https://github.com/ansible-collections/community.general/pull/5514).
- jenkins_plugin - fix error due to undefined variable when updates file is not downloaded (https://github.com/ansible-collections/community.general/pull/6100).
- keycloak - improve error messages (https://github.com/ansible-collections/community.general/pull/6318).
- keycloak_client - fix accidental replacement of value for attribute
saml.signing.private.keywithno_login wrong contexts (https://github.com/ansible-collections/community.general/pull/5934). - keycloak_client_rolemapping - calculate
proposedandafterreturn values properly (https://github.com/ansible-collections/community.general/pull/5619). - keycloak_client_rolemapping - remove only listed mappings with
state=absent(https://github.com/ansible-collections/community.general/pull/5619). - keycloak_user_federation - fixes federation creation issue. When a new federation was created and at the same time a default / standard mapper was also changed / updated the creation process failed as a bad None set variable led to a bad malformed url request (https://github.com/ansible-collections/community.general/pull/5750).
- keycloak_user_federation - fixes idempotency detection issues. In some cases the module could fail to properly detect already existing user federations because of a buggy seemingly superflous extra query parameter (https://github.com/ansible-collections/community.general/pull/5732).
- loganalytics callback plugin - adjust type of callback to
notification, it was incorrectly classified asaggregatebefore (https://github.com/ansible-collections/community.general/pull/5761). - logdna callback plugin - adjust type of callback to
notification, it was incorrectly classified asaggregatebefore (https://github.com/ansible-collections/community.general/pull/5761). - logstash callback plugin - adjust type of callback to
notification, it was incorrectly classified asaggregatebefore (https://github.com/ansible-collections/community.general/pull/5761). - lxc_container - fix the arguments of the lxc command which broke the creation and cloning of containers (https://github.com/ansible-collections/community.general/issues/5578).
- lxd_* modules, lxd inventory plugin - fix TLS/SSL certificate validation problems by using the correct purpose when creating the TLS context (https://github.com/ansible-collections/community.general/issues/5616, https://github.com/ansible-collections/community.general/pull/6034).
- memset - fix memset urlerror handling (https://github.com/ansible-collections/community.general/pull/6114).
- nmcli - fix change handling of values specified as an integer 0 (https://github.com/ansible-collections/community.general/pull/5431).
- nmcli - fix failure to handle WIFI settings when connection type not specified (https://github.com/ansible-collections/community.general/pull/5431).
- nmcli - fix improper detection of changes to
wifi.wake-on-wlan(https://github.com/ansible-collections/community.general/pull/5431). - nmcli - fixed idempotency issue for bridge connections. Module forced default value of
bridge.priorityto nmcli if not set; ifbridge.stpis disabled nmcli ignores it and keep default (https://github.com/ansible-collections/community.general/issues/3216, https://github.com/ansible-collections/community.general/issues/4683). - nmcli - fixed idempotency issue when module params is set to
may_fail4=falseandmethod4=disabled; in this case nmcli ignores change and keeps their own default valueyes(https://github.com/ansible-collections/community.general/pull/6106). - nmcli - implemented changing mtu value on vlan interfaces (https://github.com/ansible-collections/community.general/issues/4387).
- nmcli - order is significant for lists of addresses (https://github.com/ansible-collections/community.general/pull/6048).
- nsupdate - fix zone lookup. The SOA record for an existing zone is returned as an answer RR and not as an authority RR (https://github.com/ansible-collections/community.general/issues/5817, https://github.com/ansible-collections/community.general/pull/5818).
- one_vm - avoid splitting labels that are
None(https://github.com/ansible-collections/community.general/pull/5489). - one_vm - fix syntax error when creating VMs with a more complex template (https://github.com/ansible-collections/community.general/issues/6225).
- onepassword lookup plugin - Changed to ignore errors from "op account get" calls. Previously, errors would prevent auto-signin code from executing (https://github.com/ansible-collections/community.general/pull/5942).
- onepassword_raw - add missing parameter to plugin documentation (https://github.com/ansible-collections/community.general/issues/5506).
- opkg - fix issue that
force=reinstallwould not reinstall an existing package (https://github.com/ansible-collections/community.general/pull/5705). - opkg - fixes bug when using
update_cache=true(https://github.com/ansible-collections/community.general/issues/6004). - passwordstore lookup plugin - make compatible with ansible-core 2.16 (https://github.com/ansible-collections/community.general/pull/6447).
- pipx - fixed handling of
install_deps=truewithstate=latestandstate=upgrade(https://github.com/ansible-collections/community.general/pull/6303). - portage - update the logic for generating the emerge command arguments to ensure that
withbdeps: falseresults in a passing annargument with the--with-bdepsemerge flag (https://github.com/ansible-collections/community.general/issues/6451, https://github.com/ansible-collections/community.general/pull/6456). - proxmox inventory plugin - fix bug while templating when using templates for the
url,user,password,token_id, ortoken_secretoptions (https://github.com/ansible-collections/community.general/pull/5640). - proxmox inventory plugin - handle tags delimited by semicolon instead of comma, which happens from Proxmox 7.3 on (https://github.com/ansible-collections/community.general/pull/5602).
- proxmox_disk - avoid duplicate
vmidreference (https://github.com/ansible-collections/community.general/issues/5492, https://github.com/ansible-collections/community.general/pull/5493). - proxmox_disk - fixed issue with read timeout on import action (https://github.com/ansible-collections/community.general/pull/5803).
- proxmox_disk - fixed possible issues with redundant
vmidparameter (https://github.com/ansible-collections/community.general/issues/5492, https://github.com/ansible-collections/community.general/pull/5672). - proxmox_nic - fixed possible issues with redundant
vmidparameter (https://github.com/ansible-collections/community.general/issues/5492, https://github.com/ansible-collections/community.general/pull/5672). - puppet - handling
noopparameter was not working at all, now it is has been fixed (https://github.com/ansible-collections/community.general/issues/6452, https://github.com/ansible-collections/community.general/issues/6458). - redfish_utils - removed basic auth HTTP header when performing a GET on the service root resource and when performing a POST to the session collection (https://github.com/ansible-collections/community.general/issues/5886).
- redhat_subscription - do not ignore
consumer_nameand other variables ifactivationkeyis specified (https://github.com/ansible-collections/community.general/issues/3486, https://github.com/ansible-collections/community.general/pull/5627). - redhat_subscription - do not pass arguments to
subscription-manager registerfor things already configured; now a specifiedrhsm_baseurlis properly set for subscription-manager (https://github.com/ansible-collections/community.general/pull/5583). - redhat_subscription - do not use D-Bus for registering when
environmentis specified, so it possible to specify again the environment names for registering, as the D-Bus APIs work only with IDs (https://github.com/ansible-collections/community.general/pull/6319). - redhat_subscription - try to unregister only when already registered when
force_registeris specified (https://github.com/ansible-collections/community.general/issues/6258, https://github.com/ansible-collections/community.general/pull/6259). - redhat_subscription - use the right D-Bus options for environments when registering a CentOS Stream 8 system and using
environment(https://github.com/ansible-collections/community.general/pull/6275). - redhat_subscription, rhsm_release, rhsm_repository - cleanly fail when not running as root, rather than hanging on an interactive
console-helperprompt; they all interact withsubscription-manager, which already requires to be run as root (https://github.com/ansible-collections/community.general/issues/734, https://github.com/ansible-collections/community.general/pull/6211). - rhsm_release - make
releaseparameter not required so it is possible to passnullas a value. This only was possible in the past due to a bug in ansible-core that now has been fixed (https://github.com/ansible-collections/community.general/pull/6401). - rundeck module utils - fix errors caused by the API empty responses
[https\://github\.com/ansible\-collections/community\.general/pull/6300](https\://github\.com/ansible\-collections/community\.general/pull/6300) - rundeck_acl_policy - fix
TypeError - byte indices must be integers or slices, not strerror caused by empty API response. Update the module to usemodule_utils.rundeckfunctions (https://github.com/ansible-collections/community.general/pull/5887, https://github.com/ansible-collections/community.general/pull/6300). - rundeck_project - update the module to use
module_utils.rundeckfunctions[https\://github\.com/ansible\-collections/community\.general/issues/5742](https\://github\.com/ansible\-collections/community\.general/issues/5742)[https\://github\.com/ansible\-collections/community\.general/pull/6300](https\://github\.com/ansible\-collections/community\.general/pull/6300) - snap_alias - module would only recognize snap names containing letter, numbers or the underscore character, failing to identify valid snap names such as
lxd.lxc(https://github.com/ansible-collections/community.general/pull/6361). - splunk callback plugin - adjust type of callback to
notification, it was incorrectly classified asaggregatebefore (https://github.com/ansible-collections/community.general/pull/5761). - sumologic callback plugin - adjust type of callback to
notification, it was incorrectly classified asaggregatebefore (https://github.com/ansible-collections/community.general/pull/5761). - syslog_json callback plugin - adjust type of callback to
notification, it was incorrectly classified asaggregatebefore (https://github.com/ansible-collections/community.general/pull/5761). - terraform - fix
currentworkspace never getting appended to theallkey in theworkspace_ctfobject (https://github.com/ansible-collections/community.general/pull/5735). - terraform - fix
terraform initfailure when there are multiple workspaces on the remote backend and whendefaultworkspace is missing by settingTF_WORKSPACEenvironmental variable to the value ofworkspacewhen used (https://github.com/ansible-collections/community.general/pull/5735). - terraform - fix broken
warn()call (https://github.com/ansible-collections/community.general/pull/6497). - terraform and timezone - slight refactoring to avoid linter reporting potentially undefined variables (https://github.com/ansible-collections/community.general/pull/5933).
- terraform module - disable ANSI escape sequences during validation phase (https://github.com/ansible-collections/community.general/pull/5843).
- tss lookup plugin - allow to download secret attachments. Previously, we could not download secret attachments but now use
fetch_attachmentsandfile_download_pathvariables to download attachments (https://github.com/ansible-collections/community.general/issues/6224). - unixy callback plugin - fix plugin to work with ansible-core 2.14 by using Ansible's configuration manager for handling options (https://github.com/ansible-collections/community.general/issues/5600).
- unixy callback plugin - fix typo introduced when updating to use Ansible's configuration manager for handling options (https://github.com/ansible-collections/community.general/issues/5600).
- various plugins and modules - remove unnecessary imports (https://github.com/ansible-collections/community.general/pull/5940).
- vdo - now uses
yaml.safe_load()to parse command output instead of the deprecatedyaml.load()which is potentially unsafe. Usingyaml.load()without explicitely setting aLoader=is also an error in pyYAML 6.0 (https://github.com/ansible-collections/community.general/pull/5632). - vmadm - fix for index out of range error in
get_vm_uuid(https://github.com/ansible-collections/community.general/pull/5628). - xenorchestra inventory plugin - fix failure to receive objects from server due to not checking the id of the response (https://github.com/ansible-collections/community.general/pull/6227).
- xfs_quota - in case of a project quota, the call to
xfs_quotadid not initialize/reset the project (https://github.com/ansible-collections/community.general/issues/5143). - xml - fixed a bug where empty
childrenlist would not be set (https://github.com/ansible-collections/community.general/pull/5808). - yarn - fix
global=trueto check for the configured global folder instead of assuming the default[https\://github\.com/ansible\-collections/community\.general/pull/5829](https\://github\.com/ansible\-collections/community\.general/pull/5829) - yarn - fix
global=trueto not fail when executable wasn't specified[https\://github\.com/ansible\-collections/community\.general/pull/6132](https\://github\.com/ansible\-collections/community\.general/pull/6132) - yarn - fix
state=absentnot working withglobal=truewhen the package does not include a binary[https\://github\.com/ansible\-collections/community\.general/pull/5829](https\://github\.com/ansible\-collections/community\.general/pull/5829) - yarn - fix
state=latestnot working withglobal=true(https://github.com/ansible-collections/community.general/issues/5712). - yarn - fixes bug where yarn module tasks would fail when warnings were emitted from Yarn. The
yarn.listmethod was not filtering out warnings (https://github.com/ansible-collections/community.general/issues/6127). - zfs_delegate_admin - zfs allow output can now be parsed when uids/gids are not known to the host system (https://github.com/ansible-collections/community.general/pull/5943).
- zypper - make package managing work on readonly filesystem of openSUSE MicroOS (https://github.com/ansible-collections/community.general/pull/5615).
New Plugins
Lookup
- community.general.merge_variables - merge variables with a certain suffix
New Modules
- community.general.btrfs_info - Query btrfs filesystem info
- community.general.btrfs_subvolume - Manage btrfs subvolumes
- community.general.gitlab_project_badge - Manage project badges on GitLab Server
- community.general.ilo_redfish_command - Manages Out-Of-Band controllers using Redfish APIs
- community.general.ipbase_info - Retrieve IP geolocation and other facts of a host's IP address using the ipbase.com API
- community.general.kdeconfig - Manage KDE configuration files
- community.general.keycloak_authz_authorization_scope - Allows administration of Keycloak client authorization scopes via Keycloak API
- community.general.keycloak_clientscope_type - Set the type of aclientscope in realm or client via Keycloak API
- community.general.keycloak_clientsecret_info - Retrieve client secret via Keycloak API
- community.general.keycloak_clientsecret_regenerate - Regenerate Keycloak client secret via Keycloak API
- community.general.ocapi_command - Manages Out-Of-Band controllers using Open Composable API
OCAPI - community.general.ocapi_info - Manages Out-Of-Band controllers using Open Composable API
OCAPI