Ansible 13 Porting Guide

Ansible 13 is based on Ansible-core 2.20.

We suggest you read this page along with the Ansible 13 Changelog to understand what updates you may need to make.

Porting Guide for v13.0.0a1

Added Collections

  • ravendb.ravendb (version 1.0.3)

Known Issues

Ansible-core

  • templating - Exceptions raised in a Jinja set or with block which are not accessed by the template are ignored in the same manner as undefined values.

  • templating - Passing a container created in a Jinja set or with block to a method results in a copy of that container. Mutations to that container which are not returned by the method will be discarded.

dellemc.openmanage

  • idrac_attributes - The module accepts both the string as well as integer value for the field “SNMP.1.AgentCommunity” for iDRAC10.

  • idrac_diagnostics - This module does not support export of diagnostics file to HTTP and HTTPS share via SOCKS proxy.

  • idrac_license - Due to API limitation, proxy parameters are ignored during the import operation.

  • idrac_license - The module will fail to export license to NFS Share.

  • idrac_license - The module will give different error messages for iDRAC9 and iDRAC10 when user imports license with invalid share name.

  • idrac_os_deployment - The module continues to return a 200 response and marks the job as completed, even when an outdated date is supplied in the Expose duration.

  • idrac_redfish_storage_controller - PatrolReadRatePercent attribute cannot be set in iDRAC10.

  • idrac_server_config_profile - When attempting to revert iDRAC settings using a previously exported SCP file, the import operation will complete with errors if a new user was created after the export (Instead of restoring the system to its previous state, including the removal of newly added users).

  • idrac_system_info - The module will show empty video list despite having Embedded VIDEO controller.

  • ome_smart_fabric_uplink - 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.

  • redfish_storage_volume - Encryption type and block_io_size bytes will be read only property in iDRAC 9 and iDRAC 10 and hence the module ignores these parameters.

Breaking Changes

Ansible-core

  • powershell - Removed code that tried to remote quotes from paths when performing Windows operations like copying and fetching file. This should not affect normal playbooks unless a value is quoted too many times.

community.mysql

community.vmware

ibm.storage_virtualize

  • ibm_sv_manage_flashsystem_grid - The flashsystem grid module now uses newer FlashSystem REST APIs to perform tasks.

Major Changes

Ansible-core

  • ansible - Add support for Python 3.14.

  • ansible - Drop support for Python 3.11 on the controller.

  • ansible - Drop support for Python 3.8 on targets.

community.vmware

containers.podman

  • Add inventory plugins for buildah and podman

  • Add podman system connection modules

dellemc.openmanage

  • idrac_certificate - This role is enhanced to support iDRAC10.

  • idrac_export_server_config_profile - This role is enhanced to support iDRAC10.

  • idrac_firmware - This role is enhanced to support iDRAC10.

  • idrac_import_server_config_profile - This role is enhanced to support iDRAC10.

  • idrac_license - This module is enhanced to support iDRAC10.

  • idrac_os_deployment - This module is enhanced to support iDRAC10.

  • idrac_os_deployment - This role is enhanced to support iDRAC10.

  • idrac_redfish_storage_controller - This module is enhanced to support iDRAC10.

  • idrac_server_config_profile - This module is enhanced to support iDRAC10.

  • idrac_storage_controller - This role is enhanced to support iDRAC10.

  • idrac_storage_volume - This module is enhanced to support iDRAC10.

  • redfish_firmware - This role is enhanced to support iDRAC10.

  • redfish_firmware_rollback - This module is enhanced to support iDRAC10.

  • redfish_storage_volume - This module is enhanced to support iDRAC10.

  • redfish_storage_volume - This role is enhanced to support iDRAC10.

Removed Collections

  • ibm.qradar (previously included version: 4.0.0)

You can still install a removed collection manually with ansible-galaxy collection install <name-of-collection>.

Removed Features

Ansible-core

  • Removed the option to set the DEFAULT_TRANSPORT configuration to smart that selects the default transport as either ssh or paramiko based on the underlying platform configuraton.

  • vault/unvault filters - remove the deprecated vaultid parameter.

  • ansible-doc - role entrypoint attributes are no longer shown

  • ansible-galaxy - removed the v2 Galaxy server API. Galaxy servers hosting collections must support v3.

  • dnf/dnf5 - remove deprecated install_repoquery option.

  • encrypt - remove deprecated passlib_or_crypt API.

  • paramiko - Removed the PARAMIKO_HOST_KEY_AUTO_ADD and PARAMIKO_LOOK_FOR_KEYS configuration keys, which were previously deprecated.

  • py3compat - remove deprecated py3compat.environ call.

  • vars plugins - removed the deprecated get_host_vars or get_group_vars fallback for vars plugins that do not inherit from BaseVarsPlugin and define a get_vars method.

  • yum_repository - remove deprecated keepcache option.

community.vmware

Deprecated Features

Ansible-core

  • Deprecated the shell plugin’s wrap_for_exec function. This API is not used in Ansible or any known collection and is being removed to simplify the plugin API. Plugin authors should wrap their command to execute within an explicit shell or other known executable.

  • INJECT_FACTS_AS_VARS configuration currently defaults to True, this is now deprecated and it will switch to False by Ansible 2.24. You will only get notified if you are accessing ‘injected’ facts (for example, ansible_os_distribution vs ansible_facts[‘os_distribution’]).

  • hash_params function in roles/__init__ is being deprecated as it is not in use.

  • include_vars - Specifying ‘ignore_files’ as a string is deprecated.

  • vars, the internal variable cache will be removed in 2.24. This cache, once used internally exposes variables in inconsistent states, the ‘vars’ and ‘varnames’ lookups should be used instead.

community.general

community.vmware

community.zabbix

  • zabbix_maintenance module - Depreicated minutes argument for time_periods

purestorage.flasharray

  • purefa_volume_tags - Deprecated due to removal of REST 1.x support. Will be removed in Collection 2.0.0