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.
No notable changes
No notable changes
No notable changes
The following modules no longer exist:
No notable changes
No notable changes
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 like ansible.builtin.raw and action plugins calling _low_level_execute_command is no longer wrapped with a powershell.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 that ansible.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 the ansible.windows.win_shell or ansible.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é"
No notable changes
No notable changes
ibm.qradar collection has been deprecated. It will be removed from Ansible 13 if no one starts maintaining it again before Ansible 13. See Collections Removal Process for unmaintained collections for more details (https://forum.ansible.com/t/44259).ansible-core versions will be dropped in v7.0.0. The collection will focus on current supported versions of ansible-core going forward and more agressively drop end-of-life or soon-to-be EOL versions (https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html).python versions will be dropped in v7.0.0. The collection will focus on python versions that are supported by the active versions of ansible-core on the controller side at a minimum, and some subset of target versions (https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html).hetzner_token (https://github.com/ansible-collections/community.hrobot/pull/166).cisco.ise collection is considered unmaintained and 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, including for how this can be cancelled (https://forum.ansible.com/t/43367). After removal, users can still install this collection with ansible-galaxy collection install cisco.ise.entrust provider will be removed from community.crypto 3.0.0 (https://github.com/ansible-collections/community.crypto/issues/895, https://github.com/ansible-collections/community.crypto/pull/901).entrust provider will be removed from community.crypto 3.0.0 (https://github.com/ansible-collections/community.crypto/issues/895, https://github.com/ansible-collections/community.crypto/pull/901).connect_to_api (https://github.com/ansible-collections/community.vmware/pull/2372).ansible-galaxy collection install community.proxmox. We suggest to update your roles and playbooks to use the new FQCNs as soon as possible to avoid getting deprecation messages (https://github.com/ansible-collections/community.general/pull/10109).make_process_list() is deprecated and will be removed in community.general 13.0.0 (https://github.com/ansible-collections/community.general/pull/10031)._AnsibleTaggedStr for str, _AnsibleTaggedInt for int, and _AnsibleTaggedFloat for float (https://github.com/ansible-collections/community.general/pull/9833).parse_cli_textfsm filter plugin is deprecated and will be removed in a future release after 2027-02-01. Use ansible.utils.cli_parse with the ansible.utils.textfsm_parser parser as a replacement.parse_cli filter plugin is deprecated and will be removed in a future release after 2027-02-01. Use ansible.utils.cli_parse as a replacement.parse_xml filter plugin is deprecated and will be removed in a future release after 2027-02-01. Use ansible.utils.cli_parse with the ansible.utils.xml_parser parser as a replacement.rename choice of the state option is deprecated and will be removed in version 5.0.0, use the postgresql_query module instead.rename_to option is deprecated and will be removed in version 5.0.0, use the postgresql_query module instead.rename option is deprecated and will be removed in version 5.0.0, use the postgresql_query module instead.rename_to option is deprecated and will be removed in version 5.0.0, use the postgresql_query module instead.mac_learning is deprecated in favour of network_policy.mac_learning (https://github.com/ansible-collections/community.vmware/pull/2360).db alias is deprecated and will be removed in the next major release, use the login_db argument instead.db alias is deprecated and will be removed in the next major release, use the login_db argument instead.cisco.asa 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/38960).decrement_desired_capacity parameter has been deprecated and will be removed in release 14.0.0 of this collection. Management of instances attached an autoscaling group can be performed using the amazon.aws.autoscaling_instance module (https://github.com/ansible-collections/amazon.aws/pull/2396).replace_batch_size, lc_check and lt_check parameters have been deprecated and will be removed in release 14.0.0 of this collection. Rolling replacement of instances in an autoscaling group can be performed using the amazon.aws.autoscaling_instance_refresh module (https://github.com/ansible-collections/amazon.aws/pull/2396).detach_instances parameter has been deprecated and will be removed in release 14.0.0 of this collection. Management of instances attached an autoscaling group can be performed using the amazon.aws.autoscaling_instance module (https://github.com/ansible-collections/amazon.aws/pull/2396).replace_all_instances parameter has been deprecated and will be removed in release 14.0.0 of this collection. Rolling replacement of instances in an autoscaling group can be performed using the amazon.aws.autoscaling_instance_refresh module (https://github.com/ansible-collections/amazon.aws/pull/2396).replace_instances parameter has been deprecated and will be removed in release 14.0.0 of this collection. Management of instances attached an autoscaling group can be performed using the amazon.aws.autoscaling_instance module (https://github.com/ansible-collections/amazon.aws/pull/2396).debug definition in subclasses of MH is now deprecated, as that name will become a delegation to AnsibleModule in community.general 12.0.0, and any such attribute will be overridden by that delegation in that version (https://github.com/ansible-collections/community.general/pull/9577).community.general.facter_facts instead (https://github.com/ansible-collections/community.general/pull/9451).ubuntu_mode=True, or mechanism=ubuntu_legacy is deprecated and will be removed in community.general 13.0.0 (https://github.com/ansible-collections/community.general/pull/9238).false of update parameter. This will be changed to a default of true in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/9225).sensu.sensu_go instead (https://github.com/ansible-collections/community.general/pull/9483).sensu.sensu_go instead (https://github.com/ansible-collections/community.general/pull/9483).sensu.sensu_go instead (https://github.com/ansible-collections/community.general/pull/9483).sensu.sensu_go instead (https://github.com/ansible-collections/community.general/pull/9483).sensu.sensu_go instead (https://github.com/ansible-collections/community.general/pull/9483).auto of the prepend_hash option is deprecated and will change to never in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/9443).result_format=yaml in plugin ansible.bulitin.default (https://github.com/ansible-collections/community.general/pull/9456).arch suboptions have been deprecated and will be removed from community.hrobot 3.0.0 (https://github.com/ansible-collections/community.hrobot/pull/134).ibm.spectrum_virtualize was renamed to ibm.storage_virtualize. For now both collections are included in Ansible. The collection will be completely removed from Ansible 12. Please update your FQCNs from ibm.spectrum_virtualize to ibm.storage_virtualize."" for parameter force (https://github.com/ansible-collections/community.general/pull/9172).RedfishUtils._init_session() (https://github.com/ansible-collections/community.general/pull/9190).unix-chkpwd AppArmor profile must be disabled on the host to allow SSH connections to the container.powershell.exe executable. This results in one less process being started on each command for Windows to improve efficiency, simplify the code, and make raw an actual raw command run with the default shell configured on the Windows sshd settings. This should have no affect on most tasks except for raw 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 using ansible.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.ANSIBLE_CONNECTION_PATH config option no longer has any effect.botocore<1.31.0 and boto3<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).include_extra_api_calls was previously deprecated and has been removed (https://github.com/ansible-collections/amazon.aws/pull/2320).policies return key was previously deprecated and has been removed, please use policy_names instead (https://github.com/ansible-collections/amazon.aws/pull/2320).boto3_conn’s conn_type parameter is now mandatory (https://github.com/ansible-collections/amazon.aws/pull/2157).botocore<1.31.0 and boto3<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).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.autoscaling_instance_refresh (https://github.com/ansible-collections/community.aws/pull/2177).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.autoscaling_instance_refresh_info (https://github.com/ansible-collections/community.aws/pull/2177).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).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_launch_template (https://github.com/ansible-collections/community.aws/pull/2185).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_placement_group.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_placement_group_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway_vpc_attachment.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway_vpc_attachment_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_egress_igw (https://api.github.com/repos/ansible-collections/community.aws/pulls/2169).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nacl (https://github.com/ansible-collections/community.aws/pull/2178).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nacl_info (https://github.com/ansible-collections/community.aws/pull/2178).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_peer.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_peering_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vgw.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vgw_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vpn.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vpn_info.purge_capacity_providers defaults to true. (https://github.com/ansible-collections/community.aws/pull/2165).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.elb_classic_lb_info.connection_properties return key was previously deprecated and has been removed, please use raw_connection_properties instead (https://github.com/ansible-collections/community.aws/pull/2165).image_name_mismatch changed from ignore to recreate (https://github.com/ansible-collections/community.docker/pull/971).use_tls and validate_certs changed from false to true (https://github.com/ansible-collections/community.general/pull/8918).present and absent have been removed. Use enabled and disabled instead (https://github.com/ansible-collections/community.general/pull/8918).vmware.vmware collection (https://github.com/ansible-collections/community.vmware/pull/2159).vmware-vcenter and vmware-vapi-common-client instead of https://github.com/vmware/vsphere-automation-sdk-python.git (https://github.com/ansible-collections/community.vmware/pull/2163).vmware.run_command_in_guest() (https://github.com/ansible-collections/community.vmware/pull/2175).security_override alias for mac_management_override and support for securityPolicyOverrideAllowed which has been deprected in the vSphere API (https://github.com/ansible-collections/community.vmware/issues/1998).security_override because it’s deprecated in the vSphere API (https://github.com/ansible-collections/community.vmware/issues/1998).vm_tools_install_status from the result (https://github.com/ansible-collections/community.vmware/issues/2078).zabbix_agent_zabbix_alias.zabbix_get_package variable.zabbix_sender_package variable.zabbix_agent2_* variables.ansible-core<2.15 (https://github.com/ansible-collections/kubernetes.core/pull/737).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.autoscaling_instance_refresh (https://github.com/ansible-collections/amazon.aws/pull/2338).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.autoscaling_instance_refresh_info (https://github.com/ansible-collections/amazon.aws/pull/2338).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_launch_template (https://github.com/ansible-collections/amazon.aws/pull/2348).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_placement_group.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_placement_group_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway_vpc_attachment.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_transit_gateway_vpc_attachment_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_egress_igw (https://api.github.com/repos/ansible-collections/amazon.aws/pulls/2327).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nacl (https://github.com/ansible-collections/amazon.aws/pull/2339).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_nacl_info (https://github.com/ansible-collections/amazon.aws/pull/2339).community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_peer.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_peering_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vgw.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vgw_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vpn.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.ec2_vpc_vpn_info.community.aws collection. Playbooks using the Fully Qualified Collection Name for this module should be updated to use amazon.aws.elb_classic_lb_info.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0 due to the end-of-life status of previous ansible-core versions.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.guest.toolsStatus (https://github.com/ansible-collections/community.vmware/pull/2174).guest.toolsStatus (https://github.com/ansible-collections/community.vmware/pull/2174).grafana_alloy_ namespace so they are unique by @Aethylred in https://github.com/grafana/grafana-ansible-collection/pull/209
requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.You can still install a removed collection manually with ansible-galaxy collection install <name-of-collection>.
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 with ansible-galaxy collection install inspur.sm.t_systems_mms.icinga_director has been completely removed from Ansible. It has been renamed to telekom_mms.icinga_director. t_systems_mms.icinga_director has been replaced by deprecated redirects to telekom_mms.icinga_director in Ansible 9.0.0. Please update your FQCNs from t_systems_mms.icinga_director to telekom_mms.icinga_director.frr.frr collection has been removed (https://forum.ansible.com/t/6243).ngine_io.exoscale collection has been removed (https://forum.ansible.com/t/2572).openvswitch.openvswitch collection has been removed (https://forum.ansible.com/t/6245).ROLE_CACHE property in favor of role_cache.VariableManager._get_delegated_vars method (https://github.com/ansible/ansible/issues/82950)vars keyword to lists of dictionaries. It is now required to be a single dictionary.ignore_image option has been removed. Use image: ignore in comparisons instead (https://github.com/ansible-collections/community.docker/pull/971).purge_networks option has been removed. Use networks: strict in comparisons instead and make sure that networks is specified (https://github.com/ansible-collections/community.docker/pull/971).ssl_version option (https://github.com/ansible-collections/community.docker/pull/971).ack_params_state_absent option. It had no effect anymore (https://github.com/ansible-collections/community.general/pull/8918).logging option (https://github.com/ansible-collections/community.general/pull/8918).proxmox_default_behavior option. Explicitly specify the old default values if you were using proxmox_default_behavior=compatibility, otherwise simply remove it (https://github.com/ansible-collections/community.general/pull/8918).pool option. Use pool_ids instead (https://github.com/ansible-collections/community.general/pull/8918).grafana_dashboard lookupmessage argument in grafana_dashboard
merge_type=json has been removed in version 4.0.0. Please use kubernetes.core.k8s_json_patch instead (https://github.com/openshift/community.okd/pull/226).merge_type=json has been removed in version 4.0.0. Please use kubernetes.core.k8s_json_patch instead (https://github.com/ansible-collections/kubernetes.core/pull/722).result.return_code return value has been removed, consider using result.rc instead (https://github.com/ansible-collections/kubernetes.core/pull/726).K8sAnsibleMixin class has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).configuration_digest() function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).get_api_client() function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).unique_string() function has been removed (https://github.com/ansible-collections/kubernetes.core/pull/726).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).ansible-galaxy collection install google.cloud.ansible-galaxy collection install sensu.sensu_go.ansible.module_utils.basic.AnsibleModule.safe_eval and ansible.module_utils.common.safe_eval as they are no longer used.ANSIBLE_CONNECTION_PATH config option no longer has any effect, and will be removed in a future release.async option as it has been removed in RHEL 8 and will be removed in ansible-core 2.22.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.ec2_vpc_peer module has been renamed to ec2_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).result return key has been deprecated and will be removed in release 11.0.0. Use the vpc_peering_connections return key instead (https://github.com/ansible-collections/amazon.aws/pull/2359).create_instance_profile and delete_instance_profile options has been deprecated and will be removed in a release after 2026-05-01. To manage IAM instance profiles the amazon.aws.iam_instance_profile module can be used instead (https://github.com/ansible-collections/amazon.aws/pull/2221).mode=list has been deprecated. amazon.aws.s3_object_info should be used instead (https://github.com/ansible-collections/amazon.aws/pull/2328).ignore_none parameter within a CmdRunner context is deprecated and that feature should be removed in community.general 12.0.0 (https://github.com/ansible-collections/community.general/pull/8479).on_success and on_failure (https://github.com/ansible-collections/community.general/pull/8791).list_all option has been deprecated and will be removed in community.general 11.0.0. Use the community.general.git_config_info module instead (https://github.com/ansible-collections/community.general/pull/8453).state=present without providing value is deprecated and will be disallowed in community.general 11.0.0. Use the community.general.git_config_info module instead to read a value (https://github.com/ansible-collections/community.general/pull/8453).pipx older than 1.7.0 is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/8793).pipx older than 1.7.0 is deprecated and will be removed in community.general 11.0.0 (https://github.com/ansible-collections/community.general/pull/8793).grafana_notification_channel. It will be removed in version 3.0.0users_info filter returned variable plugin_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).user alias of the name argument has been deprecated and will be removed in collection version 5.0.0. Use the name argument instead.
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_11.html