Ansible 11 Porting Guide
Ansible 11 is based on Ansible-core 2.18.
We suggest you read this page along with the Ansible 11 Changelog to understand what updates you may need to make.
Playbook
No notable changes
Command Line
Python 3.10 is a no longer supported control node version. Python 3.11+ is now required for running Ansible.
Python 3.7 is a no longer supported remote version. Python 3.8+ is now required for target execution.
Deprecated
No notable changes
Modules
No notable changes
Modules removed
The following modules no longer exist:
No notable changes
Deprecation notices
No notable changes
Noteworthy module changes
No notable changes
Plugins
The
ssh
connection plugin now officially supports targeting Windows hosts. A breaking change that has been made as part of this official support is the low level command execution done by plugins likeansible.builtin.raw
and action plugins calling_low_level_execute_command
is no longer wrapped with apowershell.exe
wrapped invocation. These commands will now be executed directly on the target host using the default shell configuration set on the Windows host. This change is done to simplify the configuration required on the Ansible side, make module execution more efficient, and to remove the need to decode stderr CLIXML output. A consequence of this change is thatansible.builtin.raw
commands are no longer guaranteed to be run through a PowerShell shell and with the output encoding of UTF-8. To run a command through PowerShell and with UTF-8 output support, use theansible.windows.win_shell
oransible.windows.win_powershell
module instead.- name: Run with win_shell ansible.windows.win_shell: Write-Host "Hello, Café" - name: Run with win_powershell ansible.windows.win_powershell: script: Write-Host "Hello, Café"
Porting custom scripts
No notable changes
Networking
No notable changes
Porting Guide for v11.1.0
Known Issues
dellemc.openmanage
idrac_diagnostics - Issue(285322) - This module doesn’t support export of diagnostics file to HTTP and HTTPS share via SOCKS proxy.
idrac_firmware - Issue(279282) - This module does not support firmware update using HTTP, HTTPS, and FTP shares with authentication on iDRAC8.
ome_smart_fabric_uplink - Issue(186024) - The module supported by OpenManage Enterprise Modular, however it does not allow the creation of multiple uplinks of the same name. If an uplink is created using the same name as an existing uplink, then the existing uplink is modified.
Major Changes
dellemc.openmanage
omevv_baseline_profile - This module allows to manage baseline profile.
omevv_baseline_profile_info - This module allows to retrieve baseline profile information.
omevv_compliance_info - This module allows to retrieve firmware compliance reports.
Deprecated Features
The collection
ibm.spectrum_virtualize
was renamed toibm.storage_virtualize
. For now both collections are included in Ansible. The collection will be completely removed from Ansible 12. Please update your FQCNs fromibm.spectrum_virtualize
toibm.storage_virtualize
.
community.general
opkg - deprecate value
""
for parameterforce
(https://github.com/ansible-collections/community.general/pull/9172).redfish_utils module utils - deprecate method
RedfishUtils._init_session()
(https://github.com/ansible-collections/community.general/pull/9190).
vmware.vmware_rest
content_library_item_info - the module has been deprecated and will be removed in vmware.vmware_rest 5.0.0
Porting Guide for v11.0.0
Added Collections
ieisystem.inmanage (version 3.0.0)
kubevirt.core (version 2.1.0)
vmware.vmware (version 1.6.0)
Known Issues
Ansible-core
ansible-test - When using ansible-test containers with Podman on a Ubuntu 24.04 host, ansible-test must be run as a non-root user to avoid permission issues caused by AppArmor.
ansible-test - When using the Fedora 40 container with Podman on a Ubuntu 24.04 host, the
unix-chkpwd
AppArmor profile must be disabled on the host to allow SSH connections to the container.
ansible.netcommon
libssh - net_put and net_get fail when the destination file intended to be fetched is not present.
community.docker
docker_container - when specifying a MAC address for a container’s network, and the network is attached after container creation (for example, due to idempotency checks), the MAC address is at least in some cases ignored by the Docker Daemon (https://github.com/ansible-collections/community.docker/pull/933).
community.general
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).
dellemc.openmanage
idrac_diagnostics - Issue(285322) - This module doesn’t support export of diagnostics file to HTTP and HTTPS share via SOCKS proxy.
idrac_firmware - Issue(279282) - This module does not support firmware update using HTTP, HTTPS, and FTP shares with authentication on iDRAC8.
idrac_storage_volume - Issue(290766) - The module will report success instead of showing failure for new virtual creation on the BOSS-N1 controller if a virtual disk is already present on the same controller.
idrac_support_assist - Issue(308550) - This module fails when the NFS share path contains sub directory.
ome_diagnostics - Issue(279193) - Export of SupportAssist collection logs to the share location fails on OME version 4.0.0.
ome_smart_fabric_uplink - Issue(186024) - The module supported by OpenManage Enterprise Modular, however it does not allow the creation of multiple uplinks of the same name. If an uplink is created using the same name as an existing uplink, then the existing uplink is modified.
Breaking Changes
Ansible-core
Stopped wrapping all commands sent over SSH on a Windows target with a
powershell.exe
executable. This results in one less process being started on each command for Windows to improve efficiency, simplify the code, and makeraw
an actual raw command run with the default shell configured on the Windows sshd settings. This should have no affect on most tasks except forraw
which now is not guaranteed to always be running in a PowerShell shell and from having the console output codepage set to UTF-8. To avoid this issue either swap to usingansible.windows.win_command
,ansible.windows.win_shell
,ansible.windows.win_powershell
or manually wrap the raw command with the shell commands needed to set the output console encoding.persistent connection plugins - The
ANSIBLE_CONNECTION_PATH
config option no longer has any effect.
amazon.aws
The amazon.aws collection has dropped support for
botocore<1.31.0
andboto3<1.28.0
. Most modules will continue to work with older versions of the AWS SDK. However, compatability with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/amazon.aws/pull/2161).aws_ec2 - the parameter
include_extra_api_calls
was previously deprecated and has been removed (https://github.com/ansible-collections/amazon.aws/pull/2320).iam_policy - the
policies
return key was previously deprecated and has been removed, please usepolicy_names
instead (https://github.com/ansible-collections/amazon.aws/pull/2320).module_utils.botocore -
boto3_conn
’sconn_type
parameter is now mandatory (https://github.com/ansible-collections/amazon.aws/pull/2157).
cloud.common
cloud.common collection - Support for ansible-core < 2.15 has been dropped (https://github.com/ansible-collections/cloud.common/pull/145/files).
community.aws
The community.aws collection has dropped support for
botocore<1.31.0
andboto3<1.28.0
. Most modules will continue to work with older versions of the AWS SDK. However, compatability with older versions of the SDK is not guaranteed and will not be tested. When using older versions of the SDK a warning will be emitted by Ansible (https://github.com/ansible-collections/community.aws/pull/2195).autoscaling_instance_refresh - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh
(https://github.com/ansible-collections/community.aws/pull/2177).autoscaling_instance_refresh_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh_info
(https://github.com/ansible-collections/community.aws/pull/2177).ec2_launch_template - Tags defined using option
tags
are now applied to the launch template resources not the resource created using this launch template (https://github.com/ansible-collections/community.aws/issues/176).ec2_launch_template - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_launch_template
(https://github.com/ansible-collections/community.aws/pull/2185).ec2_placement_group - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group
.ec2_placement_group_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group_info
.ec2_transit_gateway - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway
.ec2_transit_gateway_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_info
.ec2_transit_gateway_vpc_attachment - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment
.ec2_transit_gateway_vpc_attachment_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment_info
.ec2_vpc_egress_igw - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_egress_igw
(https://api.github.com/repos/ansible-collections/community.aws/pulls/2169).ec2_vpc_nacl - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl
(https://github.com/ansible-collections/community.aws/pull/2178).ec2_vpc_nacl_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl_info
(https://github.com/ansible-collections/community.aws/pull/2178).ec2_vpc_peer - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peer
.ec2_vpc_peering_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peering_info
.ec2_vpc_vgw - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw
.ec2_vpc_vgw_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw_info
.ec2_vpc_vpn - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn
.ec2_vpc_vpn_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn_info
.ecs_cluster - the parameter
purge_capacity_providers
defaults to true. (https://github.com/ansible-collections/community.aws/pull/2165).elb_classic_lb_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_classic_lb_info
.iam_policy - the
connection_properties
return key was previously deprecated and has been removed, please useraw_connection_properties
instead (https://github.com/ansible-collections/community.aws/pull/2165).
community.docker
docker_container - the default of
image_name_mismatch
changed fromignore
torecreate
(https://github.com/ansible-collections/community.docker/pull/971).
community.general
The collection no longer supports ansible-core 2.13 and ansible-core 2.14. While most (or even all) modules 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_tls
andvalidate_certs
changed fromfalse
totrue
(https://github.com/ansible-collections/community.general/pull/8918).rhsm_repository - the states
present
andabsent
have been removed. Useenabled
anddisabled
instead (https://github.com/ansible-collections/community.general/pull/8918).
community.routeros
command - the module no longer declares that it supports check mode (https://github.com/ansible-collections/community.routeros/pull/318).
community.vmware
Adding a dependency on the
vmware.vmware
collection (https://github.com/ansible-collections/community.vmware/pull/2159).Depending on
vmware-vcenter
andvmware-vapi-common-client
instead ofhttps://github.com/vmware/vsphere-automation-sdk-python.git
(https://github.com/ansible-collections/community.vmware/pull/2163).Dropping support for pyVmomi < 8.0.3.0.1 (https://github.com/ansible-collections/community.vmware/pull/2163).
Module utils - Removed
vmware.run_command_in_guest()
(https://github.com/ansible-collections/community.vmware/pull/2175).Removed support for ansible-core version < 2.17.0.
vmware_dvs_portgroup - Removed
security_override
alias formac_management_override
and support forsecurityPolicyOverrideAllowed
which has been deprected in the vSphere API (https://github.com/ansible-collections/community.vmware/issues/1998).vmware_dvs_portgroup_info - Removed
security_override
because it’s deprecated in the vSphere API (https://github.com/ansible-collections/community.vmware/issues/1998).vmware_guest_tools_info - Removed deprecated
vm_tools_install_status
from the result (https://github.com/ansible-collections/community.vmware/issues/2078).
community.zabbix
All Roles - Remove support for Centos 7
All Roles - Remove support for Python2
All Roles - Removed support for Debian 10.
All Roles - Removed support for Ubuntu 18.08 (Bionic)
Remove support for Ansible < 2.15 and Python < 3.9
Remove support for Zabbix 6.2
Removed support for Zabbix 6.2
zabbix_agent role - Remove support for zabbix_agent_zabbix_alias.
zabbix_agent role - Remove support for zabbix_get_package variable.
zabbix_agent role - Remove support for zabbix_sender_package variable.
zabbix_agent role - Remove support for all zabbix_agent2_* variables.
hetzner.hcloud
Drop support for ansible-core 2.14.
kubernetes.core
Remove support for
ansible-core<2.15
(https://github.com/ansible-collections/kubernetes.core/pull/737).
vmware.vmware_rest
Removing any support for ansible-core <=2.14
Major Changes
amazon.aws
autoscaling_instance_refresh - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh
(https://github.com/ansible-collections/amazon.aws/pull/2338).autoscaling_instance_refresh_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.autoscaling_instance_refresh_info
(https://github.com/ansible-collections/amazon.aws/pull/2338).ec2_launch_template - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_launch_template
(https://github.com/ansible-collections/amazon.aws/pull/2348).ec2_placement_group - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group
.ec2_placement_group_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_placement_group_info
.ec2_transit_gateway - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway
.ec2_transit_gateway_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_info
.ec2_transit_gateway_vpc_attachment - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment
.ec2_transit_gateway_vpc_attachment_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_transit_gateway_vpc_attachment_info
.ec2_vpc_egress_igw - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_egress_igw
(https://api.github.com/repos/ansible-collections/amazon.aws/pulls/2327).ec2_vpc_nacl - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl
(https://github.com/ansible-collections/amazon.aws/pull/2339).ec2_vpc_nacl_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_nacl_info
(https://github.com/ansible-collections/amazon.aws/pull/2339).ec2_vpc_peer - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peer
.ec2_vpc_peering_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_peering_info
.ec2_vpc_vgw - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw
.ec2_vpc_vgw_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vgw_info
.ec2_vpc_vpn - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn
.ec2_vpc_vpn_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.ec2_vpc_vpn_info
.elb_classic_lb_info - The module has been migrated from the
community.aws
collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to useamazon.aws.elb_classic_lb_info
.
ansible.netcommon
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
ansible.posix
Dropping support for Ansible 2.9, ansible-core 2.15 will be minimum required version for this release
ansible.utils
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
arista.eos
Bumping requires_ansible to >=2.15.0 due to the end-of-life status of previous ansible-core versions.
check_point.mgmt
New R82 Resource Modules
Support relative positioning for sections
cisco.asa
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
cisco.ios
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
cisco.iosxr
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
cisco.nxos
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
community.vmware
vmware_guest_tools_upgrade - Subsitute the deprecated
guest.toolsStatus
(https://github.com/ansible-collections/community.vmware/pull/2174).vmware_vm_shell - Subsitute the deprecated
guest.toolsStatus
(https://github.com/ansible-collections/community.vmware/pull/2174).
community.zabbix
All Roles - Add support for openSUSE Leap 15 and SLES 15.
All Roles - Separate installation of Zabbix repo from all other roles and link them together.
containers.podman
Add mount and unmount for volumes
Add multiple subnets for networks
Add new options for podman_container
Add new options to pod module
Add podman search
Improve idempotency for networking in podman_container
Redesign idempotency for Podman Pod module
dellemc.openmanage
Added support to use session ID for authentication of iDRAC, OpenManage Enterprise and OpenManage Enterprise Modular.
idrac_secure_boot - This module allows to Configure attributes, import, or export secure boot certificate, and reset keys.
idrac_secure_boot - This module allows to import the secure boot certificate.
idrac_server_config_profile - This module is enhanced to allow you to export and import custom defaults on iDRAC.
idrac_support_assist - This module allows to run and export SupportAssist collection logs on iDRAC.
idrac_system_erase - This module allows to Erase system and storage components of the server on iDRAC.
ome_configuration_compliance_baseline - This module is enhanced to schedule the remediation job and stage the reboot.
ome_session - This module allows you to create and delete the sessions on OpenManage Enterprise and OpenManage Enterprise Modular.
omevv_firmware_repository_profile - This module allows to manage firmware repository profile.
omevv_firmware_repository_profile_info - This module allows to retrieve firmware repository profile information.
omevv_vcenter_info - This module allows to retrieve vCenter information.
fortinet.fortios
Add a sanity_test.yaml file to trigger CI tests in GitHub.
Improve the logic for SET function to send GET request first then PUT or POST
Mantis
Support Ansible-core 2.17.
Support new FOS versions 7.4.4.
Support new FOS versions 7.6.0.
grafana.grafana
Add a config check before restarting mimir by @panfantastic in https://github.com/grafana/grafana-ansible-collection/pull/198
Add support for configuring feature_toggles in grafana role by @LexVar in https://github.com/grafana/grafana-ansible-collection/pull/173
Adding “distributor” section support to mimir config file by @HamzaKhait in https://github.com/grafana/grafana-ansible-collection/pull/247
Allow alloy_user_groups variable again by @pjezek in https://github.com/grafana/grafana-ansible-collection/pull/276
Alloy Role Improvements by @voidquark in https://github.com/grafana/grafana-ansible-collection/pull/281
Backport post-setup healthcheck from agent to alloy by @v-zhuravlev in https://github.com/grafana/grafana-ansible-collection/pull/213
Bump ansible-lint from 24.2.3 to 24.5.0 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/207
Bump ansible-lint from 24.5.0 to 24.6.0 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/216
Bump ansible-lint from 24.6.0 to 24.9.2 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/270
Bump braces from 3.0.2 to 3.0.3 in the npm_and_yarn group across 1 directory by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/218
Bump pylint from 3.1.0 to 3.1.1 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/200
Bump pylint from 3.1.1 to 3.2.2 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/208
Bump pylint from 3.2.2 to 3.2.3 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/217
Bump pylint from 3.2.3 to 3.2.5 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/234
Bump pylint from 3.2.5 to 3.3.1 by @dependabot in https://github.com/grafana/grafana-ansible-collection/pull/273
Change from config.river to config.alloy by @cardasac in https://github.com/grafana/grafana-ansible-collection/pull/225
Ensure check-mode works for otel collector by @pieterlexis-tomtom in https://github.com/grafana/grafana-ansible-collection/pull/264
Fix Grafana Configuration for Unified and Legacy Alerting Based on Version by @voidquark in https://github.com/grafana/grafana-ansible-collection/pull/215
Fix message argument of dashboard task by @Nemental in https://github.com/grafana/grafana-ansible-collection/pull/256
Support adding alloy user to extra groups by @v-zhuravlev in https://github.com/grafana/grafana-ansible-collection/pull/212
Update Alloy variables to use the grafana_alloy_ namespace so they are unique by @Aethylred in https://github.com/grafana/grafana-ansible-collection/pull/209
Update README.md by @aioue in https://github.com/grafana/grafana-ansible-collection/pull/272
Update README.md by @aioue in https://github.com/grafana/grafana-ansible-collection/pull/275
Update main.yml by @aioue in https://github.com/grafana/grafana-ansible-collection/pull/274
Updated result.json[‘message’] to result.json()[‘message’] by @CPreun in https://github.com/grafana/grafana-ansible-collection/pull/223
add grafana_plugins_ops to defaults and docs by @weakcamel in https://github.com/grafana/grafana-ansible-collection/pull/251
add option to populate google_analytics_4_id value by @copolycube in https://github.com/grafana/grafana-ansible-collection/pull/249
fix ansible-lint warnings on Forbidden implicit octal value “0640” by @copolycube in https://github.com/grafana/grafana-ansible-collection/pull/279
fix:mimir molecule should use ansible core 2.16 by @GVengelen in https://github.com/grafana/grafana-ansible-collection/pull/254
ibm.qradar
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
junipernetworks.junos
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
kaytus.ksmanage
Add new modules system_lock_mode_info, edit_system_lock_mode(https://github.com/ieisystem/kaytus.ksmanage/pull/27).
splunk.es
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
vyos.vyos
Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.
Removed Collections
frr.frr (previously included version: 2.0.2)
inspur.sm (previously included version: 2.3.0)
ngine_io.exoscale (previously included version: 1.1.0)
openvswitch.openvswitch (previously included version: 2.1.1)
t_systems_mms.icinga_director (previously included version: 2.0.1)
Removed Features
The
inspur.sm
collection was considered unmaintained and has been removed from Ansible 11 (https://forum.ansible.com/t/2854). Users can still install this collection withansible-galaxy collection install inspur.sm
.The collection
t_systems_mms.icinga_director
has been completely removed from Ansible. It has been renamed totelekom_mms.icinga_director
.t_systems_mms.icinga_director
has been replaced by deprecated redirects totelekom_mms.icinga_director
in Ansible 9.0.0. Please update your FQCNs fromt_systems_mms.icinga_director
totelekom_mms.icinga_director
.The deprecated
frr.frr
collection has been removed (https://forum.ansible.com/t/6243).The deprecated
ngine_io.exoscale
collection has been removed (https://forum.ansible.com/t/2572).The deprecated
openvswitch.openvswitch
collection has been removed (https://forum.ansible.com/t/6245).
Ansible-core
Play - removed deprecated
ROLE_CACHE
property in favor ofrole_cache
.Remove deprecated VariableManager._get_delegated_vars method (https://github.com/ansible/ansible/issues/82950)
Removed Python 3.10 as a supported version on the controller. Python 3.11 or newer is required.
Removed support for setting the
vars
keyword to lists of dictionaries. It is now required to be a single dictionary.loader - remove deprecated non-inclusive words (https://github.com/ansible/ansible/issues/82947).
paramiko_ssh - removed deprecated ssh_args from the paramiko_ssh connection plugin (https://github.com/ansible/ansible/issues/82939).
paramiko_ssh - removed deprecated ssh_common_args from the paramiko_ssh connection plugin (https://github.com/ansible/ansible/issues/82940).
paramiko_ssh - removed deprecated ssh_extra_args from the paramiko_ssh connection plugin (https://github.com/ansible/ansible/issues/82941).
play_context - remove deprecated PlayContext.verbosity property (https://github.com/ansible/ansible/issues/82945).
utils/listify - remove deprecated ‘loader’ argument from listify_lookup_plugin_terms API (https://github.com/ansible/ansible/issues/82949).
community.docker
The collection no longer supports ansible-core 2.11, 2.12, 2.13, and 2.14. You need ansible-core 2.15.0 or newer to use community.docker 4.x.y (https://github.com/ansible-collections/community.docker/pull/971).
The docker_compose module has been removed. Please migrate to community.docker.docker_compose_v2 (https://github.com/ansible-collections/community.docker/pull/971).
docker_container - the
ignore_image
option has been removed. Useimage: ignore
incomparisons
instead (https://github.com/ansible-collections/community.docker/pull/971).docker_container - the
purge_networks
option has been removed. Usenetworks: strict
incomparisons
instead and make sure thatnetworks
is specified (https://github.com/ansible-collections/community.docker/pull/971).various modules and plugins - remove the
ssl_version
option (https://github.com/ansible-collections/community.docker/pull/971).
community.general
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_absent
option. It had no effect anymore (https://github.com/ansible-collections/community.general/pull/8918).ejabberd_user - removed the
logging
option (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_behavior
option. 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
pool
option. Usepool_ids
instead (https://github.com/ansible-collections/community.general/pull/8918).
community.grafana
removed check and handling of mangled api key in grafana_dashboard lookup
removed deprecated message argument in grafana_dashboard
community.okd
k8s - Support for
merge_type=json
has been removed in version 4.0.0. Please usekubernetes.core.k8s_json_patch
instead (https://github.com/openshift/community.okd/pull/226).
community.routeros
The collection no longer supports Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14. If you need to continue using End of Life versions of Ansible/ansible-base/ansible-core, please use community.routeros 2.x.y (https://github.com/ansible-collections/community.routeros/pull/318).
community.sops
The collection no longer supports Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14. If you need to continue using End of Life versions of Ansible/ansible-base/ansible-core, please use community.sops 1.x.y (https://github.com/ansible-collections/community.sops/pull/206).
kubernetes.core
k8s - Support for
merge_type=json
has been removed in version 4.0.0. Please usekubernetes.core.k8s_json_patch
instead (https://github.com/ansible-collections/kubernetes.core/pull/722).k8s_exec - the previously deprecated
result.return_code
return value has been removed, consider usingresult.rc
instead (https://github.com/ansible-collections/kubernetes.core/pull/726).module_utils/common.py - the previously deprecated
K8sAnsibleMixin
class has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).module_utils/common.py - the previously deprecated
configuration_digest()
function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).module_utils/common.py - the previously deprecated
get_api_client()
function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).module_utils/common.py - the previously deprecated
unique_string()
function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).
Deprecated Features
The
community.network
collection has been deprecated. It will be removed from Ansible 12 if no one starts maintaining it again before Ansible 12. See Collections Removal Process for unmaintained collections for more details (https://forum.ansible.com/t/8030).The google.cloud collection will be removed from Ansible 12 due to violations of the Ansible inclusion requirements. The collection has unresolved sanity test failures. See Collections Removal Process for collections not satisfying the collection requirements for more details, including for how this can be cancelled (https://forum.ansible.com/t/8609).
The sensu.sensu_go collection will be removed from Ansible 12 due to violations of the Ansible inclusion requirements. The collection has unresolved sanity test failures. See Collections Removal Process for collections not satisfying the collection requirements for more details, including for how this can be cancelled (https://forum.ansible.com/t/8380).
Ansible-core
Deprecate
ansible.module_utils.basic.AnsibleModule.safe_eval
andansible.module_utils.common.safe_eval
as they are no longer used.persistent connection plugins - The
ANSIBLE_CONNECTION_PATH
config option no longer has any effect, and will be removed in a future release.yum_repository - deprecate
async
option as it has been removed in RHEL 8 and will be removed in ansible-core 2.22.yum_repository - the following options are deprecated:
deltarpm_metadata_percentage
,gpgcakey
,http_caching
,keepalive
,metadata_expire_filter
,mirrorlist_expire
,protect
,ssl_check_cert_permissions
,ui_repoid_vars
as they have no effect for dnf as an underlying package manager. The options will be removed in ansible-core 2.22.
amazon.aws
amazon.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.8 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.8 by this collection has been deprecated and will removed in release 10.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2161).
ec2_vpc_peer - the
ec2_vpc_peer
module has been renamed toec2_vpc_peering
. The usage of the module has not changed. The ec2_vpc_peer alias will be removed in version 13.0.0 (https://github.com/ansible-collections/amazon.aws/pull/2356).ec2_vpc_peering_info -
result
return key has been deprecated and will be removed in release 11.0.0. Use thevpc_peering_connections
return key instead (https://github.com/ansible-collections/amazon.aws/pull/2359).iam_role - support for creating and deleting IAM instance profiles using the
create_instance_profile
anddelete_instance_profile
options has been deprecated and will be removed in a release after 2026-05-01. To manage IAM instance profiles theamazon.aws.iam_instance_profile
module can be used instead (https://github.com/ansible-collections/amazon.aws/pull/2221).s3_object - Support for
mode=list
has been deprecated.amazon.aws.s3_object_info
should be used instead (https://github.com/ansible-collections/amazon.aws/pull/2328).
cisco.ios
ios_bgp_address_family - deprecated attribute password in favour of password_options within neigbhors.
ios_bgp_global - deprecated attributes aggregate_address, bestpath, inject_map, ipv4_with_subnet, ipv6_with_subnet, nopeerup_delay, distribute_list, address, tag, ipv6_addresses, password, route_map, route_server_context and scope
ios_linkagg - deprecate legacy module ios_linkagg
ios_lldp - deprecate legacy module ios_lldp
community.aws
community.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.8 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/) support for Python less than 3.8 by this collection has been deprecated and will removed in release 10.0.0 (https://github.com/ansible-collections/community.aws/pull/2195).
community.docker
The collection deprecates support for all ansible-core versions that are currently End of Life, according to the ansible-core support matrix. This means that the next major release of the collection will no longer support ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14.
community.general
CmdRunner module util - setting the value of the
ignore_none
parameter within aCmdRunner
context 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_success
andon_failure
(https://github.com/ansible-collections/community.general/pull/8791).git_config - the
list_all
option has been deprecated and will be removed in community.general 11.0.0. Use thecommunity.general.git_config_info
module instead (https://github.com/ansible-collections/community.general/pull/8453).git_config - using
state=present
without providingvalue
is deprecated and will be disallowed in community.general 11.0.0. Use thecommunity.general.git_config_info
module 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
pipx
older than1.7.0
is 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
pipx
older than1.7.0
is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/8793).
community.grafana
Deprecate grafana_notification_channel. It will be removed in version 3.0.0
community.mysql
collection - support of mysqlclient connector is deprecated - use PyMySQL connector instead! We will stop testing against it in collection version 4.0.0 and remove the related code in 5.0.0 (https://github.com/ansible-collections/community.mysql/issues/654).
mysql_info - The
users_info
filter returned variableplugin_auth_string
contains the hashed password and it’s misleading, it will be removed from community.mysql 4.0.0. Use the plugin_hash_string return value instead (https://github.com/ansible-collections/community.mysql/pull/629).mysql_user - the
user
alias of thename
argument has been deprecated and will be removed in collection version 5.0.0. Use thename
argument instead.
community.network
This collection and all content in it is unmaintained and deprecated (https://forum.ansible.com/t/8030). If you are interested in maintaining parts of the collection, please copy them to your own repository, and tell others about in the Forum discussion. See the collection creator path for details.
community.routeros
The collection deprecates support for all Ansible/ansible-base/ansible-core versions that are currently End of Life, according to the ansible-core support matrix. This means that the next major release of the collection will no longer support Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14.
community.sops
The collection deprecates support for all Ansible/ansible-base/ansible-core versions that are currently End of Life, according to the ansible-core support matrix. This means that the next major release of the collection will no longer support Ansible 2.9, ansible-base 2.10, ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14.
community.vmware
vmware_cluster - the module has been deprecated and will be removed in community.vmware 6.0.0 (https://github.com/ansible-collections/community.vmware/pull/2143).
vmware_cluster_dpm - the module has been deprecated and will be removed in community.vmware 6.0.0 (https://github.com/ansible-collections/community.vmware/pull/2217).
vmware_cluster_drs - the module has been deprecated and will be removed in community.vmware 6.0.0 (https://github.com/ansible-collections/community.vmware/pull/2136).
vmware_cluster_drs_recommendations - the module has been deprecated and will be removed in community.vmware 6.0.0 (https://github.com/ansible-collections/community.vmware/pull/2218).
vmware_cluster_vcls - the module has been deprecated and will be removed in community.vmware 6.0.0 (https://github.com/ansible-collections/community.vmware/pull/2156).