mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
81 KiB
81 KiB
Community General Release Notes
Topics
- v10.0.0
- Release Summary
- Minor Changes
- Breaking Changes / Porting Guide
- Deprecated Features
- Removed Features (previously deprecated)
- Bugfixes
- Known Issues
- New Plugins
- New Modules This changelog describes changes after version 9.0.0.
v10.0.0
Release Summary
This is release 10.0.0 of community.general, released on 2024-11-04.
Minor Changes
- CmdRunner module util - argument formats can be specified as plain functions without calling
cmd_runner_fmt.as_func()(https://github.com/ansible-collections/community.general/pull/8479). - CmdRunner module utils - the parameter
force_langnow supports the special valueautowhich will automatically try and determine the best parsable locale in the system (https://github.com/ansible-collections/community.general/pull/8517). - MH module utils - add parameter
whentocause_changesdecorator (https://github.com/ansible-collections/community.general/pull/8766). - MH module utils - minor refactor in decorators (https://github.com/ansible-collections/community.general/pull/8766).
- alternatives - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- ansible_galaxy_install - add return value
version(https://github.com/ansible-collections/community.general/pull/9060). - ansible_galaxy_install - add upgrade feature (https://github.com/ansible-collections/community.general/pull/8431, https://github.com/ansible-collections/community.general/issues/8351).
- ansible_galaxy_install - minor refactor in the module (https://github.com/ansible-collections/community.general/pull/8413).
- apache2_mod_proxy - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- apache2_mod_proxy - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- cargo - add option
directory, which allows source directory to be specified (https://github.com/ansible-collections/community.general/pull/8480). - cgroup_memory_recap, hipchat, jabber, log_plays, loganalytics, logentries, logstash, slack, splunk, sumologic, syslog_json callback plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8628).
- chef_databag, consul_kv, cyberarkpassword, dsv, etcd, filetree, hiera, onepassword, onepassword_doc, onepassword_raw, passwordstore, redis, shelvefile, tss lookup plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8626).
- chroot, funcd, incus, iocage, jail, lxc, lxd, qubes, zone connection plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8627).
- cmd_runner module utils - add decorator
cmd_runner_fmt.stack(https://github.com/ansible-collections/community.general/pull/8415). - cmd_runner module utils - refactor argument formatting code to its own Python module (https://github.com/ansible-collections/community.general/pull/8964).
- cmd_runner_fmt module utils - simplify implementation of
cmd_runner_fmt.as_bool_not()(https://github.com/ansible-collections/community.general/pull/8512). - cobbler, linode, lxd, nmap, online, scaleway, stackpath_compute, virtualbox inventory plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8625).
- consul_acl - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- consul_kv - add argument for the datacenter option on Consul API (https://github.com/ansible-collections/community.general/pull/9026).
- copr - Added
includepkgsandexcludepkgsparameters to limit the list of packages fetched or excluded from the repository(https://github.com/ansible-collections/community.general/pull/8779). - cpanm - add return value
cpanm_version(https://github.com/ansible-collections/community.general/pull/9061). - credstash lookup plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- csv module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- deco MH module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- dig lookup plugin - add
portoption to specify DNS server port (https://github.com/ansible-collections/community.general/pull/8966). - django module utils - always retrieve version (https://github.com/ansible-collections/community.general/pull/9063).
- django_check - add return value
version(https://github.com/ansible-collections/community.general/pull/9063). - django_command - add return value
version(https://github.com/ansible-collections/community.general/pull/9063). - django_createcachetable - add return value
version(https://github.com/ansible-collections/community.general/pull/9063). - doas, dzdo, ksu, machinectl, pbrun, pfexec, pmrun, sesu, sudosu become plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8623).
- etcd3 - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- flatpak - improve the parsing of Flatpak application IDs based on official guidelines (https://github.com/ansible-collections/community.general/pull/8909).
- gconftool2 - make use of
ModuleHelperfeatures to simplify code (https://github.com/ansible-collections/community.general/pull/8711). - gcontool2 - add return value
version(https://github.com/ansible-collections/community.general/pull/9064). - gcontool2 module utils - add argument formatter
version(https://github.com/ansible-collections/community.general/pull/9064). - gcontool2_info - add return value
version(https://github.com/ansible-collections/community.general/pull/9064). - gio_mime - add return value
version(https://github.com/ansible-collections/community.general/pull/9067). - gio_mime - adjust code ahead of the old
VardDictdeprecation (https://github.com/ansible-collections/community.general/pull/8855). - gio_mime - mute the old
VarDictdeprecation (https://github.com/ansible-collections/community.general/pull/8776). - gio_mime module utils - add argument formatter
version(https://github.com/ansible-collections/community.general/pull/9067). - github_app_access_token lookup plugin - adds new
private_keyparameter (https://github.com/ansible-collections/community.general/pull/8989). - gitlab_deploy_key - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - gitlab_group - add many new parameters (https://github.com/ansible-collections/community.general/pull/8908).
- gitlab_group - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - gitlab_group - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- gitlab_issue - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - gitlab_merge_request - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - gitlab_project - add option
container_expiration_policyto schedule container registry cleanup (https://github.com/ansible-collections/community.general/pull/8674). - gitlab_project - add option
issues_access_levelto enable/disable project issues (https://github.com/ansible-collections/community.general/pull/8760). - gitlab_project - add option
model_registry_access_levelto disable model registry (https://github.com/ansible-collections/community.general/pull/8688). - gitlab_project - add option
pages_access_levelto disable project pages (https://github.com/ansible-collections/community.general/pull/8688). - gitlab_project - add option
repository_access_levelto disable project repository (https://github.com/ansible-collections/community.general/pull/8674). - gitlab_project - add option
service_desk_enabledto disable service desk (https://github.com/ansible-collections/community.general/pull/8688). - gitlab_project - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- gitlab_project - sorted parameters in order to avoid future merge conflicts (https://github.com/ansible-collections/community.general/pull/8759).
- gitlab_runner - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - hashids filter plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- homebrew - speed up brew install and upgrade (https://github.com/ansible-collections/community.general/pull/9022).
- hwc_ecs_instance - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- hwc_evs_disk - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- hwc_vpc_eip - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- hwc_vpc_peering_connect - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- hwc_vpc_port - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- hwc_vpc_subnet - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- icinga2_host - replace loop with dict comprehension (https://github.com/ansible-collections/community.general/pull/8876).
- imc_rest - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- ipa_dnsrecord - adds
SSHFPrecord type for managing SSH fingerprints in FreeIPA DNS (https://github.com/ansible-collections/community.general/pull/8404). - ipa_otptoken - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- jenkins_node - add
offline_messageparameter for updating a Jenkins node offline cause reason when the state is "disabled"offline(https://github.com/ansible-collections/community.general/pull/9084)." - jira - adjust code ahead of the old
VardDictdeprecation (https://github.com/ansible-collections/community.general/pull/8856). - jira - mute the old
VarDictdeprecation (https://github.com/ansible-collections/community.general/pull/8776). - jira - replace deprecated params when using decorator
cause_changes(https://github.com/ansible-collections/community.general/pull/8791). - keep_keys filter plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- keycloak module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- keycloak_client - add
client-x509choice toclient_authenticator_type(https://github.com/ansible-collections/community.general/pull/8973). - keycloak_client - assign auth flow by name (https://github.com/ansible-collections/community.general/pull/8428).
- keycloak_client - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- keycloak_clientscope - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- keycloak_identity_provider - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- keycloak_realm - add boolean toggle to configure organization support for a given keycloak realm (https://github.com/ansible-collections/community.general/issues/9027, https://github.com/ansible-collections/community.general/pull/8927/).
- keycloak_user_federation - add module argument allowing users to optout of the removal of unspecified mappers, for example to keep the keycloak default mappers (https://github.com/ansible-collections/community.general/pull/8764).
- keycloak_user_federation - add the user federation config parameter
referralto the module arguments (https://github.com/ansible-collections/community.general/pull/8954). - keycloak_user_federation - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- keycloak_user_federation - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- keycloak_user_federation - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- linode - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- locale_gen - add support for multiple locales (https://github.com/ansible-collections/community.general/issues/8677, https://github.com/ansible-collections/community.general/pull/8682).
- lxc_container - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- lxd_container - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- manageiq_provider - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- mattermost - adds support for message priority (https://github.com/ansible-collections/community.general/issues/9068, https://github.com/ansible-collections/community.general/pull/9087).
- memcached, pickle, redis, yaml cache plugins - make sure that all options are typed (https://github.com/ansible-collections/community.general/pull/8624).
- memset_dns_reload - replace loop with
dict()(https://github.com/ansible-collections/community.general/pull/8876). - memset_memstore_info - replace loop with
dict()(https://github.com/ansible-collections/community.general/pull/8876). - memset_server_info - replace loop with
dict()(https://github.com/ansible-collections/community.general/pull/8876). - memset_zone - replace loop with
dict()(https://github.com/ansible-collections/community.general/pull/8876). - memset_zone_domain - replace loop with
dict()(https://github.com/ansible-collections/community.general/pull/8876). - memset_zone_record - replace loop with
dict()(https://github.com/ansible-collections/community.general/pull/8876). - nmcli - add
conn_enableparam to reload connection (https://github.com/ansible-collections/community.general/issues/3752, https://github.com/ansible-collections/community.general/issues/8704, https://github.com/ansible-collections/community.general/pull/8897). - nmcli - add
state=upandstate=downto enable/disable connections (https://github.com/ansible-collections/community.general/issues/3752, https://github.com/ansible-collections/community.general/issues/8704, https://github.com/ansible-collections/community.general/issues/7152, https://github.com/ansible-collections/community.general/pull/8897). - nmcli - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - npm - add
forceparameter to allow--force(https://github.com/ansible-collections/community.general/pull/8885). - ocapi_utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- one_image - add
create,templateanddatastore_idarguments for image creation (https://github.com/ansible-collections/community.general/pull/9075). - one_image - add
wait_timeoutargument for adjustable timeouts (https://github.com/ansible-collections/community.general/pull/9075). - one_image - add option
persistentto manage image persistence (https://github.com/ansible-collections/community.general/issues/3578, https://github.com/ansible-collections/community.general/pull/8889). - one_image - extend xsd scheme to make it return a lot more info about image (https://github.com/ansible-collections/community.general/pull/8889).
- one_image - refactor code to make it more similar to
one_templateandone_vnet(https://github.com/ansible-collections/community.general/pull/8889). - one_image_info - extend xsd scheme to make it return a lot more info about image (https://github.com/ansible-collections/community.general/pull/8889).
- one_image_info - refactor code to make it more similar to
one_templateandone_vnet(https://github.com/ansible-collections/community.general/pull/8889). - one_service - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- one_vm - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- onepassword lookup plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- open_iscsi - allow login to a portal with multiple targets without specifying any of them (https://github.com/ansible-collections/community.general/pull/8719).
- openbsd_pkg - adds diff support to show changes in installed package list. This does not yet work for check mode (https://github.com/ansible-collections/community.general/pull/8402).
- opennebula.py - add VM
idand VMhostto inventory host data (https://github.com/ansible-collections/community.general/pull/8532). - opentelemetry callback plugin - fix default value for
store_spans_in_filecausing traces to be produced to a file namedNone(https://github.com/ansible-collections/community.general/issues/8566, https://github.com/ansible-collections/community.general/pull/8741). - opkg - add return value
version(https://github.com/ansible-collections/community.general/pull/9086). - passwordstore lookup plugin - add subkey creation/update support (https://github.com/ansible-collections/community.general/pull/8952).
- passwordstore lookup plugin - add the current user to the lockfile file name to address issues on multi-user systems (https://github.com/ansible-collections/community.general/pull/8689).
- pids - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- pipx - add parameter
suffixto module (https://github.com/ansible-collections/community.general/pull/8675, https://github.com/ansible-collections/community.general/issues/8656). - pipx - added new states
install_all,uninject,upgrade_shared,pin, andunpin(https://github.com/ansible-collections/community.general/pull/8809). - pipx - added parameter
globalto module (https://github.com/ansible-collections/community.general/pull/8793). - pipx - refactor out parsing of
pipx listoutput to module utils (https://github.com/ansible-collections/community.general/pull/9044). - pipx - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- pipx_info - add new return value
pinned(https://github.com/ansible-collections/community.general/pull/9044). - pipx_info - added parameter
globalto module (https://github.com/ansible-collections/community.general/pull/8793). - pipx_info - refactor out parsing of
pipx listoutput to module utils (https://github.com/ansible-collections/community.general/pull/9044). - pipx_info - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- pkg5_publisher - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- pkgng - add option
use_globsdefault <code>true</code>to optionally disable glob patterns (https://github.com/ansible-collections/community.general/issues/8632, https://github.com/ansible-collections/community.general/pull/8633). - proxmox - add
disk_volumeandmount_volumeskeys for better readability (https://github.com/ansible-collections/community.general/pull/8542). - proxmox - allow specification of the API port when using proxmox_* (https://github.com/ansible-collections/community.general/issues/8440, https://github.com/ansible-collections/community.general/pull/8441).
- proxmox - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- proxmox - translate the old
diskandmountskeys to the new handling internally (https://github.com/ansible-collections/community.general/pull/8542). - proxmox inventory plugin - add new fact for LXC interface details (https://github.com/ansible-collections/community.general/pull/8713).
- proxmox inventory plugin - clean up authentication code (https://github.com/ansible-collections/community.general/pull/8917).
- proxmox inventory plugin - fix urllib3
InsecureRequestWarningsnot being suppressed when a token is used (https://github.com/ansible-collections/community.general/pull/9099). - proxmox_disk - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- proxmox_kvm - adds the
ciupgradeparameter to specify whether cloud-init should upgrade system packages at first boot (https://github.com/ansible-collections/community.general/pull/9066). - proxmox_kvm - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- proxmox_kvm - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- proxmox_template - small refactor in logic for determining whether a template exists or not (https://github.com/ansible-collections/community.general/pull/8516).
- proxmox_vm_info - add
networkoption to retrieve current network information (https://github.com/ansible-collections/community.general/pull/8471). - redfish_* modules - adds
ciphersoption for custom cipher selection (https://github.com/ansible-collections/community.general/pull/8533). - redfish_command - add
UpdateUserAccountTypescommand (https://github.com/ansible-collections/community.general/issues/9058, https://github.com/ansible-collections/community.general/pull/9059). - redfish_command - add
waitandwait_timeoutoptions to allow a user to block a command until a service is accessible after performing the requested command (https://github.com/ansible-collections/community.general/issues/8051, https://github.com/ansible-collections/community.general/pull/8434). - redfish_command - add handling of the
PasswordChangeRequiredmessage from services in theUpdateUserPasswordcommand to directly modify the user's password if the requested user is the one invoking the operation (https://github.com/ansible-collections/community.general/issues/8652, https://github.com/ansible-collections/community.general/pull/8653). - redfish_confg - remove
CapacityBytesfrom required paramaters of theCreateVolumecommand (https://github.com/ansible-collections/community.general/pull/8956). - redfish_config - add parameter
storage_none_volume_deletiontoCreateVolumecommand in order to control the automatic deletion of non-RAID volumes (https://github.com/ansible-collections/community.general/pull/8990). - redfish_info - add command
CheckAvailabilityto check if a service is accessible (https://github.com/ansible-collections/community.general/issues/8051, https://github.com/ansible-collections/community.general/pull/8434). - redfish_info - adds
RedfishURIandStorageIdto Disk inventory (https://github.com/ansible-collections/community.general/pull/8937). - redfish_utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- redfish_utils module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- redfish_utils module utils - schedule a BIOS configuration job at next reboot when the BIOS config is changed (https://github.com/ansible-collections/community.general/pull/9012).
- redis cache plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- redis, redis_info - add
client_certandclient_keyoptions to specify path to certificate for Redis authentication (https://github.com/ansible-collections/community.general/pull/8654). - redis_info - adds support for getting cluster info (https://github.com/ansible-collections/community.general/pull/8464).
- remove_keys filter plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- replace_keys filter plugin - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- scaleway - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- scaleway module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- scaleway_compute - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- scaleway_container - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_container_info - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_container_namespace - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_container_namespace_info - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_container_registry - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_container_registry_info - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_function - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_function_info - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_function_namespace - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_function_namespace_info - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8858).
- scaleway_ip - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- scaleway_lb - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- scaleway_security_group - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- scaleway_security_group - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- scaleway_user_data - better construct when using
dict.items()(https://github.com/ansible-collections/community.general/pull/8876). - scaleway_user_data - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- sensu_silence - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- snmp_facts - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- sorcery - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8833).
- sudosu become plugin - added an option
<code>alt\_method</code>to enhance compatibility with more versions ofsu(https://github.com/ansible-collections/community.general/pull/8214). - udm_dns_record - replace loop with
dict.update()(https://github.com/ansible-collections/community.general/pull/8876). - ufw - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- unsafe plugin utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- vardict module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- vars MH module utils - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8814).
- virtualbox inventory plugin - expose a new parameter
enable_advanced_group_parsingto change how the VirtualBox dynamic inventory parses VM groups (https://github.com/ansible-collections/community.general/issues/8508, https://github.com/ansible-collections/community.general/pull/8510). - vmadm - replace Python 2.6 construct with dict comprehensions (https://github.com/ansible-collections/community.general/pull/8822).
- wdc_redfish_command - minor change to handle upgrade file for Redfish WD platforms (https://github.com/ansible-collections/community.general/pull/8444).
Breaking Changes / Porting Guide
- The collection no longer supports ansible-core 2.13 and ansible-core 2.14. While most
or even allmodules and plugins might still work with these versions, they are no longer tested in CI and breakages regarding them will not be fixed (https://github.com/ansible-collections/community.general/pull/8921)." - cmd_runner module utils - CLI arguments created directly from module parameters are no longer assigned a default formatter (https://github.com/ansible-collections/community.general/pull/8928).
- irc - the defaults of
use_tlsandvalidate_certschanged fromfalsetotrue(https://github.com/ansible-collections/community.general/pull/8918). - rhsm_repository - the states
presentandabsenthave been removed. Useenabledanddisabledinstead (https://github.com/ansible-collections/community.general/pull/8918).
Deprecated Features
- CmdRunner module util - setting the value of the
ignore_noneparameter within aCmdRunnercontext is deprecated and that feature should be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/8479). - MH decorator cause_changes module utils - deprecate parameters
on_successandon_failure(https://github.com/ansible-collections/community.general/pull/8791). - git_config - the
list_alloption has been deprecated and will be removed in community.general 11.0.0. Use thecommunity.general.git_config_infomodule instead (https://github.com/ansible-collections/community.general/pull/8453). - git_config - using
state=presentwithout providingvalueis deprecated and will be disallowed in community.general 11.0.0. Use thecommunity.general.git_config_infomodule instead to read a value (https://github.com/ansible-collections/community.general/pull/8453). - hipchat - the hipchat service has been discontinued and the self-hosted variant has been End of Life since 2020. The module is therefore deprecated and will be removed from community.general 11.0.0 if nobody provides compelling reasons to still keep it (https://github.com/ansible-collections/community.general/pull/8919).
- pipx - support for versions of the command line tool
pipxolder than1.7.0is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/8793). - pipx_info - support for versions of the command line tool
pipxolder than1.7.0is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/8793).
Removed Features previously deprecated
- The consul_acl module has been removed. Use community.general.consul_token and/or community.general.consul_policy instead (https://github.com/ansible-collections/community.general/pull/8921).
- The hipchat callback plugin has been removed. The hipchat service has been discontinued and the self-hosted variant has been End of Life since 2020 (https://github.com/ansible-collections/community.general/pull/8921).
- The redhat module utils has been removed (https://github.com/ansible-collections/community.general/pull/8921).
- The rhn_channel module has been removed (https://github.com/ansible-collections/community.general/pull/8921).
- The rhn_register module has been removed (https://github.com/ansible-collections/community.general/pull/8921).
- consul - removed the
ack_params_state_absentoption. It had no effect anymore (https://github.com/ansible-collections/community.general/pull/8918). - ejabberd_user - removed the
loggingoption (https://github.com/ansible-collections/community.general/pull/8918). - gitlab modules - remove basic auth feature (https://github.com/ansible-collections/community.general/pull/8405).
- proxmox_kvm - removed the
proxmox_default_behavioroption. Explicitly specify the old default values if you were usingproxmox_default_behavior=compatibility, otherwise simply remove it (https://github.com/ansible-collections/community.general/pull/8918). - redhat_subscriptions - removed the
pooloption. Usepool_idsinstead (https://github.com/ansible-collections/community.general/pull/8918).
Bugfixes
- bitwarden lookup plugin - fix
KeyErrorinsearch_field(https://github.com/ansible-collections/community.general/issues/8549, https://github.com/ansible-collections/community.general/pull/8557). - bitwarden lookup plugin - support BWS v0.3.0 syntax breaking change (https://github.com/ansible-collections/community.general/pull/9028).
- cloudflare_dns - fix changing Cloudflare SRV records (https://github.com/ansible-collections/community.general/issues/8679, https://github.com/ansible-collections/community.general/pull/8948).
- cmd_runner module utils - call to
get_best_parsable_locales()was missing parameter (https://github.com/ansible-collections/community.general/pull/8929). - collection_version lookup plugin - use
importlibdirectly instead of the deprecated and in ansible-core 2.19 removedansible.module_utils.compat.importlib(https://github.com/ansible-collections/community.general/pull/9084). - cpanm - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - dig lookup plugin - fix using only the last nameserver specified (https://github.com/ansible-collections/community.general/pull/8970).
- django module utils - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - django_command - option
commandis now split lexically before passed to underlying PythonRunner (https://github.com/ansible-collections/community.general/pull/8944). - gconftool2_info - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - git_config - fix behavior of
state=absentifvalueis present (https://github.com/ansible-collections/community.general/issues/8436, https://github.com/ansible-collections/community.general/pull/8452). - gitlab_group_access_token - fix crash in check mode caused by attempted access to a newly created access token (https://github.com/ansible-collections/community.general/pull/8796).
- gitlab_label - update label's color (https://github.com/ansible-collections/community.general/pull/9010).
- gitlab_project - fix
container_expiration_policynot being applied when creating a new project (https://github.com/ansible-collections/community.general/pull/8790). - gitlab_project - fix crash caused by old Gitlab projects not having a
container_expiration_policyattribute (https://github.com/ansible-collections/community.general/pull/8790). - gitlab_project_access_token - fix crash in check mode caused by attempted access to a newly created access token (https://github.com/ansible-collections/community.general/pull/8796).
- gitlab_runner - fix
pausedparameter being ignored (https://github.com/ansible-collections/community.general/pull/8648). - homebrew - do not fail when brew prints warnings (https://github.com/ansible-collections/community.general/pull/8406, https://github.com/ansible-collections/community.general/issues/7044).
- homebrew_cask - fix
upgrade_allreturnschangedwhen nothing upgraded (https://github.com/ansible-collections/community.general/issues/8707, https://github.com/ansible-collections/community.general/pull/8708). - homectl - the module now tries to use
legacycrypton Python 3.13+ (https://github.com/ansible-collections/community.general/issues/4691, https://github.com/ansible-collections/community.general/pull/8987). - hponcfg - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - 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_host - add
force_create, fixenabledanddisabledstates (https://github.com/ansible-collections/community.general/issues/1094, https://github.com/ansible-collections/community.general/pull/8920). - 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_node - fixed
enabled,disableandabsentnode state redirect authorization issues, same as was present forpresent(https://github.com/ansible-collections/community.general/pull/9084). - 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). - kernel_blacklist - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - keycloak_client - fix TypeError when sanitizing the
saml.signing.private.keyattribute in the module's diff or state output. Thesanitize_crfunction expected a dict where in some cases a list might occur (https://github.com/ansible-collections/community.general/pull/8403). - keycloak_clientscope - remove IDs from clientscope and its protocol mappers on comparison for changed check (https://github.com/ansible-collections/community.general/pull/8545).
- keycloak_clientscope_type - fix detect changes in check mode (https://github.com/ansible-collections/community.general/issues/9092, https://github.com/ansible-collections/community.general/pull/9093).
- keycloak_group - fix crash caused in subgroup creation. The crash was caused by a missing or empty
subGroupsproperty in Keycloak ≥23 (https://github.com/ansible-collections/community.general/issues/8788, https://github.com/ansible-collections/community.general/pull/8979). - keycloak_realm - add normalizations for
attributesandprotocol_mappers(https://github.com/ansible-collections/community.general/pull/8496). - keycloak_realm - fix change detection in check mode by sorting the lists in the realms beforehand (https://github.com/ansible-collections/community.general/pull/8877).
- keycloak_realm_key - fix invalid usage of
parent_id(https://github.com/ansible-collections/community.general/issues/7850, https://github.com/ansible-collections/community.general/pull/8823). - keycloak_user_federation - add module argument allowing users to configure the update mode for the parameter
bindCredential(https://github.com/ansible-collections/community.general/pull/8898). - keycloak_user_federation - fix key error when removing mappers during an update and new mappers are specified in the module args (https://github.com/ansible-collections/community.general/pull/8762).
- keycloak_user_federation - fix the
UnboundLocalErrorthat occurs when an ID is provided for a user federation mapper (https://github.com/ansible-collections/community.general/pull/8831). - keycloak_user_federation - get cleartext IDP
clientSecretfrom full realm info to detect changes to it (https://github.com/ansible-collections/community.general/issues/8294, https://github.com/ansible-collections/community.general/pull/8735). - keycloak_user_federation - minimize change detection by setting
krbPrincipalAttributeto''in Keycloak responses if missing (https://github.com/ansible-collections/community.general/pull/8785). - keycloak_user_federation - remove
lastSyncparameter from Keycloak responses to minimize diff/changes (https://github.com/ansible-collections/community.general/pull/8812). - keycloak_user_federation - remove existing user federation mappers if they are not present in the federation configuration and will not be updated (https://github.com/ansible-collections/community.general/issues/7169, https://github.com/ansible-collections/community.general/pull/8695).
- keycloak_user_federation - sort desired and after mapper list by name
analog to before mapper listto minimize diff and make change detection more accurate (https://github.com/ansible-collections/community.general/pull/8761). - keycloak_userprofile - fix empty response when fetching userprofile component by removing
parent=parent_idfilter (https://github.com/ansible-collections/community.general/pull/8923). - keycloak_userprofile - improve diff by deserializing the fetched
kc.user.profile.configand serialize it only when sending back (https://github.com/ansible-collections/community.general/pull/8940). - launched - correctly report changed status in check mode (https://github.com/ansible-collections/community.general/pull/8406).
- locale_gen - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - lxd_container - fix bug introduced in previous commit (https://github.com/ansible-collections/community.general/pull/8895, https://github.com/ansible-collections/community.general/issues/8888).
- mksysb - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - 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). - nsupdate - fix 'index out of range' error when changing NS records by falling back to authority section of the response (https://github.com/ansible-collections/community.general/issues/8612, https://github.com/ansible-collections/community.general/pull/8614).
- one_host - fix if statements for cases when
ID=0(https://github.com/ansible-collections/community.general/issues/1199, https://github.com/ansible-collections/community.general/pull/8907). - one_image - fix module failing due to a class method typo (https://github.com/ansible-collections/community.general/pull/9056).
- one_image_info - fix module failing due to a class method typo (https://github.com/ansible-collections/community.general/pull/9056).
- one_service - fix service creation after it was deleted with
uniqueparameter (https://github.com/ansible-collections/community.general/issues/3137, https://github.com/ansible-collections/community.general/pull/8887). - one_vnet - fix module failing due to a variable typo (https://github.com/ansible-collections/community.general/pull/9019).
- opennebula inventory plugin - fix invalid reference to IP when inventory runs against NICs with no IPv4 address (https://github.com/ansible-collections/community.general/pull/8489).
- opentelemetry callback - do not save the JSON response when using the
ansible.builtin.urimodule (https://github.com/ansible-collections/community.general/pull/8430). - opentelemetry callback - do not save the content response when using the
ansible.builtin.slurpmodule (https://github.com/ansible-collections/community.general/pull/8430). - 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). - paman - do not fail if an empty list of packages has been provided and there is nothing to do (https://github.com/ansible-collections/community.general/pull/8514).
- pipx - it was ignoring
globalwhen listing existing applications (https://github.com/ansible-collections/community.general/pull/9044). - pipx module utils - add missing command line formatter for argument
spec_metadata(https://github.com/ansible-collections/community.general/pull/9044). - pipx_info - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - proxmox - fix idempotency on creation of mount volumes using Proxmox' special
<storage>:<size>syntax (https://github.com/ansible-collections/community.general/issues/8407, https://github.com/ansible-collections/community.general/pull/8542). - proxmox - fixed an issue where the new volume handling incorrectly converted
nullvalues into"None"strings (https://github.com/ansible-collections/community.general/pull/8646). - proxmox - fixed an issue where volume strings where overwritten instead of appended to in the new
build_volume()method (https://github.com/ansible-collections/community.general/pull/8646). - proxmox - removed the forced conversion of non-string values to strings to be consistent with the module documentation (https://github.com/ansible-collections/community.general/pull/8646).
- proxmox inventory plugin - fixed a possible error on concatenating responses from proxmox. In case an API call unexpectedly returned an empty result, the inventory failed with a fatal error. Added check for empty response (https://github.com/ansible-collections/community.general/issues/8798, https://github.com/ansible-collections/community.general/pull/8794).
- python_runner module utils - parameter
path_prefixwas being handled as string when it should be a list (https://github.com/ansible-collections/community.general/pull/8944). - redfish_utils module utils - do not fail when language is not exactly "en" (https://github.com/ansible-collections/community.general/pull/8613).
- redfish_utils module utils - fix issue with URI parsing to gracefully handling trailing slashes when extracting member identifiers (https://github.com/ansible-collections/community.general/issues/9047, https://github.com/ansible-collections/community.general/pull/9057).
- snap - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - snap_alias - use new
VarDictto prevent deprecation warning (https://github.com/ansible-collections/community.general/issues/8410, https://github.com/ansible-collections/community.general/pull/8411). - udm_user - the module now tries to use
legacycrypton Python 3.13+ (https://github.com/ansible-collections/community.general/issues/4690, https://github.com/ansible-collections/community.general/pull/8987).
Known Issues
- jenkins_node - the module is not able to update offline message when node is already offline due to internally using toggleOffline API (https://github.com/ansible-collections/community.general/pull/9084).
New Plugins
Filter
- community.general.keep_keys - Keep specific keys from dictionaries in a list.
- community.general.remove_keys - Remove specific keys from dictionaries in a list.
- community.general.replace_keys - Replace specific keys in a list of dictionaries.
- community.general.reveal_ansible_type - Return input type.
Test
- community.general.ansible_type - Validate input type.
New Modules
- community.general.bootc_manage - Bootc Switch and Upgrade.
- community.general.consul_agent_check - Add, modify, and delete checks within a consul cluster.
- community.general.consul_agent_service - Add, modify and delete services within a consul cluster.
- community.general.django_check - Wrapper for C(django-admin check).
- community.general.django_createcachetable - Wrapper for C(django-admin createcachetable).
- community.general.homebrew_services - Services manager for Homebrew.
- community.general.ipa_getkeytab - Manage keytab file in FreeIPA.
- community.general.jenkins_node - Manage Jenkins nodes.
- community.general.keycloak_component - Allows administration of Keycloak components via Keycloak API.
- community.general.keycloak_realm_keys_metadata_info - Allows obtaining Keycloak realm keys metadata via Keycloak API.
- community.general.keycloak_userprofile - Allows managing Keycloak User Profiles.
- community.general.krb_ticket - Kerberos utils for managing tickets.
- community.general.one_vnet - Manages OpenNebula virtual networks.
- community.general.zypper_repository_info - List Zypper repositories.