Spec-Zone.ru › Ansible

Ansible 6 Porting Guide

  • Playbook
  • Command Line
  • Deprecated
  • Modules

    • Modules removed
    • Deprecation notices
    • Noteworthy module changes
    • Breaking Changes
  • Plugins
  • Porting custom scripts
  • Networking
  • Porting Guide for v6.7.0

    • Known Issues
    • Major Changes
    • Deprecated Features
  • Porting Guide for v6.6.0

    • Added Collections
    • Known Issues
    • Breaking Changes
    • Major Changes
    • Deprecated Features
  • Porting Guide for v6.5.0

    • Major Changes
    • Deprecated Features
  • Porting Guide for v6.4.0

    • Added Collections
    • Deprecated Features
  • Porting Guide for v6.3.0

    • Major Changes
    • Deprecated Features
  • Porting Guide for v6.2.0

    • Added Collections
    • Known Issues
    • Major Changes
    • Deprecated Features
  • Porting Guide for v6.1.0

    • Added Collections
    • Known Issues
    • Major Changes
    • Deprecated Features
  • Porting Guide for v6.0.0

    • Added Collections
    • Known Issues
    • Breaking Changes
    • Major Changes
    • Removed Collections
    • Removed Features
    • Deprecated Features

Ansible 6 is based on Ansible-core 2.13.

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

Playbook

  • Templating - You can no longer perform arithmetic and concatenation operations outside of the jinja template. The following statement will need to be rewritten to produce [1, 2]:
- name: Prior to 2.13
  debug:
    msg: '[1] + {{ [2] }}'

- name: 2.13 and forward
  debug:
    msg: '{{ [1] + [2] }}'
  • The return value of the __repr__ method of an undefined variable represented by the AnsibleUndefined object changed. {{ '%r'|format(undefined_variable) }} returns AnsibleUndefined(hint=None, obj=missing, name='undefined_variable') in 2.13 as opposed to just AnsibleUndefined in versions 2.12 and prior.
  • The finalize method is no longer exposed in the globals for use in templating. To convert None to an empty string the following expression can be used: {{ value if value is not none }}.

Command Line

No notable changes

Deprecated

No notable changes

Modules

  • To use ansible-core 2.13 for module execution, you must use Python 2 version 2.7 or Python 3 version 3.5 or newer. Any code utilizing ansible.module_utils.basic will not function with lower Python versions.

Modules removed

The following modules no longer exist:

  • No notable changes

Deprecation notices

No notable changes

Noteworthy module changes

No notable changes

Breaking Changes

  • ansible.module_utils.urls.fetch_url will now return the captured HTTPError exception as r. HTTPError is a response like object that can offer more information to module authors. Modules should rely on info['status'] >= 400 to determine if there was a failure, instead of using r is None or catching AttributeError when attempting r.read().

Plugins

No notable changes

Porting custom scripts

No notable changes

Networking

No notable changes

Porting Guide for v6.7.0

Known Issues

community.routeros

  • api_modify - when limits for entries in queue tree are defined as human readable - for example 25M -, the configuration will be correctly set in ROS, but the module will indicate the item is changed on every run even when there was no change done. This is caused by the ROS API which returns the number in bytes - for example 25000000 (which is inconsistent with the CLI behavior). In order to mitigate that, the limits have to be defined in bytes (those will still appear as human readable in the ROS CLI) (https://github.com/ansible-collections/community.routeros/pull/131).
  • api_modify, api_info - routing ospf area, routing ospf area range, routing ospf instance, routing ospf interface-template paths are not fully implemented for ROS6 due to the significant changes between ROS6 and ROS7 (https://github.com/ansible-collections/community.routeros/pull/131).

Major Changes

cisco.meraki

  • meraki_mr_l7_firewall - New module
  • meraki_webhook_payload_template - New module

community.zabbix

  • all modules are opting away from zabbix-api and using httpapi ansible.netcommon plugin. We will support zabbix-api for backwards compatibility until next major release. See our README.md for more information about how to migrate
  • zabbix_agent and zabbix_proxy roles are opting away from zabbix-api and use httpapi ansible.netcommon plugin. We will support zabbix-api for backwards compatibility until next major release. See our README.md for more information about how to migrate

containers.podman

  • New become plugin - podman_unshare
  • Podman generate systemd module

fortinet.fortimanager

  • Fix compatibility issue for ansible 2.9.x and ansible-base 2.10.x.
  • support Ansible changelogs.

fortinet.fortios

  • Support FortiOS v7.0.6, v7.0.7, v7.0.8, v7.2.1, v7.2.2.

Deprecated Features

community.general

  • Please note that some tools, like the VScode plugin (https://github.com/ansible/vscode-ansible/issues/573), or ansible-doc --list --type module, suggest to replace the correct FQCNs for modules and actions in community.general with internal names that have more than three components. For example, community.general.ufw is suggested to be replaced by community.general.system.ufw. While these longer names do work, they are considered internal names by the collection and are subject to change and be removed at all time. They will be removed in community.general 6.0.0 and result in deprecation messages. Avoid using these internal names, and use general three-component FQCNs (community.general.<name_of_module>) instead (https://github.com/ansible-collections/community.general/pull/5373).

Porting Guide for v6.6.0

Added Collections

  • lowlydba.sqlserver (version 1.0.4)

Known Issues

community.routeros

  • The community.routeros.command module claims to support check mode. Since it cannot judge whether the commands executed modify state or not, this behavior is incorrect. Since this potentially breaks existing playbooks, we will not change this behavior until community.routeros 3.0.0.

Breaking Changes

community.general

  • newrelic_deployment - revision is required for v2 API (https://github.com/ansible-collections/community.general/pull/5341).

Major Changes

community.general

  • newrelic_deployment - removed New Relic v1 API, added support for v2 API (https://github.com/ansible-collections/community.general/pull/5341).

fortinet.fortimanager

  • Many fixes for Ansible sanity test warnings & errors.
  • Support FortiManager Schema 7.2.0 , 98 new modules

Deprecated Features

  • The mellanox.onyx collection is considered unmaintained and will be removed from Ansible 8 if no one starts maintaining it again before Ansible 8. See the removal process for details on how this works (https://github.com/ansible-community/community-topics/issues/136).

cisco.mso

  • The mso_schema_template_contract_filter contract_filter_type attribute is deprecated. The value is now deduced from filter_type.

community.general

  • ArgFormat module utils - deprecated along CmdMixin, in favor of the cmd_runner_fmt module util (https://github.com/ansible-collections/community.general/pull/5370).
  • CmdMixin module utils - deprecated in favor of the CmdRunner module util (https://github.com/ansible-collections/community.general/pull/5370).
  • CmdModuleHelper module utils - deprecated in favor of the CmdRunner module util (https://github.com/ansible-collections/community.general/pull/5370).
  • CmdStateModuleHelper module utils - deprecated in favor of the CmdRunner module util (https://github.com/ansible-collections/community.general/pull/5370).
  • django_manage - support for Django releases older than 4.1 has been deprecated and will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5400).
  • django_manage - support for the commands cleanup, syncdb and validate that have been deprecated in Django long time ago will be removed in community.general 9.0.0 (https://github.com/ansible-collections/community.general/pull/5400).
  • django_manage - the behavior of “creating the virtual environment when missing” is being deprecated and will be removed in community.general version 9.0.0 (https://github.com/ansible-collections/community.general/pull/5405).
  • newrelic_deployment - appname and environment are no longer valid options in the v2 API. They will be removed in community.general 7.0.0 (https://github.com/ansible-collections/community.general/pull/5341).

Porting Guide for v6.5.0

Major Changes

infoblox.nios_modules

  • Feature for extra layer security , with cert and key parameters in playbooks for authenticating using certificate and key *.pem file absolute path #154
  • Fix to remove issue causing due to template attr in deleting network using Ansible module nios network #147

Deprecated Features

  • The dellemc.os10 collection is considered unmaintained and will be removed from Ansible 8 if no one starts maintaining it again before Ansible 8. See the removal process for details on how this works (https://github.com/ansible-community/community-topics/issues/134).
  • The dellemc.os6 collection is considered unmaintained and will be removed from Ansible 8 if no one starts maintaining it again before Ansible 8. See the removal process for details on how this works (https://github.com/ansible-community/community-topics/issues/132).
  • The dellemc.os9 collection is considered unmaintained and will be removed from Ansible 8 if no one starts maintaining it again before Ansible 8. See the removal process for details on how this works (https://github.com/ansible-community/community-topics/issues/133).

community.general

  • lxc_container - the module will no longer make any effort to support Python 2 (https://github.com/ansible-collections/community.general/pull/5304).

Porting Guide for v6.4.0

Added Collections

  • inspur.ispim (version 1.0.1)
  • vultr.cloud (version 1.1.0)

Deprecated Features

community.general

  • proxmox - deprecated the current unprivileged default value, will be changed to true in community.general 7.0.0 (https://github.com/pull/5224).

Porting Guide for v6.3.0

Major Changes

community.mysql

  • mysql_db - the pipefail argument’s default value will be changed to true in community.mysql 4.0.0. If your target machines do not use bash as a default interpreter, set pipefail to false explicitly. However, we strongly recommend setting up bash as a default and pipefail=true as it will protect you from getting broken dumps you don’t know about (https://github.com/ansible-collections/community.mysql/issues/407).

fortinet.fortios

  • Support Diff feature in check_mode.
  • Support Fortios 7.2.0.

Deprecated Features

  • The google.cloud collection is considered unmaintained and will be removed from Ansible 8 if no one starts maintaining it again before Ansible 8. See the removal process for details on how this works (https://github.com/ansible-community/community-topics/issues/105).
  • The servicenow.servicenow collection has been deprecated by its maintainers (https://github.com/ServiceNowITOM/servicenow-ansible/pull/69) and will be removed from Ansible 7. It can still be installed manually, but it is suggested to switch to servicenow.itsm instead (https://github.com/ansible-community/community-topics/issues/124).

Porting Guide for v6.2.0

Added Collections

  • ibm.spectrum_virtualize (version 1.9.0)

Known Issues

netapp.ontap

  • na_ontap_snapshot - added documentation to use UTC format for expiry_time.

Major Changes

community.postgresql

  • postgresql_user - the groups argument has been deprecated and will be removed in community.postgresql 3.0.0. Please use the postgresql_membership module to specify group/role memberships instead (https://github.com/ansible-collections/community.postgresql/issues/277).

Deprecated Features

community.hashi_vault

  • vault_kv2_get lookup - the engine_mount_point option in the vault_kv2_get lookup only will change its default from kv to secret in community.hashi_vault version 4.0.0 (https://github.com/ansible-collections/community.hashi_vault/issues/279).

Porting Guide for v6.1.0

Added Collections

  • purestorage.fusion (version 1.0.2)

Known Issues

dellemc.openmanage

  • idrac_user - Issue(192043) The module may error out with the message unable to perform the import or export operation because there are pending attribute changes or a configuration job is in progress. Wait for the job to complete and run the task again.
  • ome_application_alerts_smtp - Issue(212310) - The module does not provide a proper error message if the destination_address is more than 255 characters.
  • ome_application_alerts_syslog - Issue(215374) - The module does not provide a proper error message if the destination_address is more than 255 characters.
  • ome_device_local_access_configuration - Issue(215035) - The module reports Successfully updated the local access setting if an unsupported value is provided for the parameter timeout_limit. However, this value is not actually applied on OpenManage Enterprise Modular.
  • ome_device_local_access_configuration - Issue(217865) - The module does not display a proper error message if an unsupported value is provided for the user_defined and lcd_language parameters.
  • ome_device_network_services - Issue(212681) - The module does not provide a proper error message if unsupported values are provided for the parameters- port_number, community_name, max_sessions, max_auth_retries, and idle_timeout.
  • ome_device_power_settings - Issue(212679) - The module displays the following message if the value provided for the parameter power_cap is not within the supported range of 0 to 32767, Unable to complete the request because PowerCap does not exist or is not applicable for the resource URI.
  • ome_device_quick_deploy - Issue(216352) - The module does not display a proper error message if an unsupported value is provided for the ipv6_prefix_length and vlan_id parameters.
  • ome_smart_fabric_uplink - Issue(186024) - The module does not allow the creation of multiple uplinks of the same name even though it is supported by OpenManage Enterprise Modular. If an uplink is created using the same name as an existing uplink, the existing uplink is modified.

Major Changes

chocolatey.chocolatey

  • win_chocolatey - Added bootstrap_script option to allow users to target a script URL for installing Chocolatey on clients.
  • win_chocolatey_facts - Added outdated packages list to data returned.

infoblox.nios_modules

  • Update text field of TXT Record #128
  • Update operation using old_name and new_name for the object with dummy name in old_name (which does not exist in system) will not create a new object in the system. An error will be thrown stating the object does not exist in the system #129

Deprecated Features

cisco.ios

  • Deprecated ios_linkagg_module in favor of ios_lag_interfaces.

community.aws

  • aws_codebuild - The tags parameter currently uses a non-standard format and has been deprecated. In release 6.0.0 this parameter will accept a simple key/value pair dictionary instead of the current list of dictionaries. It is recommended to migrate to using the resource_tags parameter which already accepts the simple dictionary format (https://github.com/ansible-collections/community.aws/pull/1221).
  • route53_info - The CamelCase return values for HostedZones, ResourceRecordSets, and HealthChecks have been deprecated, in the future release you must use snake_case return values hosted_zones, resource_record_sets, and health_checks instead respectively”.

community.crypto

  • Support for Ansible 2.9 and ansible-base 2.10 is deprecated, and will be removed in the next major release (community.crypto 3.0.0). Some modules might still work with these versions afterwards, but we will no longer keep compatibility code that was needed to support them (https://github.com/ansible-collections/community.crypto/pull/460).

community.docker

  • Support for Docker API version 1.20 to 1.24 has been deprecated and will be removed in community.docker 3.0.0. The first Docker version supporting API version 1.25 was Docker 1.13, released in January 2017. This affects the modules docker_container, docker_container_exec, docker_container_info, docker_compose, docker_login, docker_image, docker_image_info, docker_image_load, docker_host_info, docker_network, docker_network_info, docker_node_info, docker_swarm_info, docker_swarm_service, docker_swarm_service_info, docker_volume_info, and docker_volume, whose minimally supported API version is between 1.20 and 1.24 (https://github.com/ansible-collections/community.docker/pull/396).
  • Support for Python 2.6 is deprecated and will be removed in the next major release (community.docker 3.0.0). Some modules might still work with Python 2.6, but we will no longer try to ensure compatibility (https://github.com/ansible-collections/community.docker/pull/388).

community.general

  • cmd_runner module utils - deprecated fmt in favour of cmd_runner_fmt as the parameter format object (https://github.com/ansible-collections/community.general/pull/4777).

Porting Guide for v6.0.0

Added Collections

  • cisco.dnac (version 6.4.0)
  • community.sap (version 1.0.0)
  • community.sap_libs (version 1.1.0)
  • vmware.vmware_rest (version 2.1.5)

Known Issues

Ansible-core

  • get_url - document check_mode correctly with unreliable changed status (https://github.com/ansible/ansible/issues/65687).

ansible.netcommon

  • eos - When using eos modules on Ansible 2.9, tasks will occasionally fail with import_modules enabled. This can be avoided by setting import_modules: no

community.general

  • pacman - update_cache cannot differentiate between up to date and outdated package lists and will report changed in both situations (https://github.com/ansible-collections/community.general/pull/4318).
  • pacman - binaries specified in the executable parameter must support --print-format in order to be used by this module. In particular, AUR helper yay is known not to currently support it (https://github.com/ansible-collections/community.general/pull/4312).

dellemc.openmanage

  • idrac_user - Issue(192043) The module may error out with the message unable to perform the import or export operation because there are pending attribute changes or a configuration job is in progress. Wait for the job to complete and run the task again.
  • ome_application_alerts_smtp - Issue(212310) - The module does not provide a proper error message if the destination_address is more than 255 characters.
  • ome_application_alerts_syslog - Issue(215374) - The module does not provide a proper error message if the destination_address is more than 255 characters.
  • ome_application_console_preferences - Issue(224690) - The module does not display a proper error message when an unsupported value is provided for the parameters report_row_limit, email_sender_settings, and metric_collection_settings, and the value is applied on OpenManage Enterprise.
  • ome_device_local_access_configuration - Issue(215035) - The module reports Successfully updated the local access setting if an unsupported value is provided for the parameter timeout_limit. However, this value is not actually applied on OpenManage Enterprise Modular.
  • ome_device_local_access_configuration - Issue(217865) - The module does not display a proper error message if an unsupported value is provided for the user_defined and lcd_language parameters.
  • ome_device_network_services - Issue(212681) - The module does not provide a proper error message if unsupported values are provided for the parameters- port_number, community_name, max_sessions, max_auth_retries, and idle_timeout.
  • ome_device_power_settings - Issue(212679) - The module displays the following message if the value provided for the parameter power_cap is not within the supported range of 0 to 32767, Unable to complete the request because PowerCap does not exist or is not applicable for the resource URI.
  • ome_device_power_settings - Issue(212679) - The module errors out with the following message if the value provided for the parameter power_cap is not within the supported range of 0 to 32767, Unable to complete the request because PowerCap does not  exist or is not applicable for the resource URI.
  • ome_device_power_settings - Issue(212679) - The module errors out with the following message if the value provided for the parameter power_cap is not within the supported range of 0 to 32767, Unable to complete the request because PowerCap does not exist or is not applicable for the resource URI.
  • ome_device_quick_deploy - Issue(216352) - The module does not display a proper error message if an unsupported value is provided for the ipv6_prefix_length and vlan_id parameters.
  • ome_smart_fabric_uplink - Issue(186024) - The module does not allow the creation of multiple uplinks of the same name even though it is supported by OpenManage Enterprise Modular. If an uplink is created using the same name as an existing uplink, the existing uplink is modified.

purestorage.flasharray

  • purefa_admin - Once max_login and lockout have been set there is currently no way to rest these to zero except through the FlashArray GUI

Breaking Changes

Ansible-core

  • Module Python Dependency - Drop support for Python 2.6 in module execution.
  • Templating - it is no longer allowed to perform arithmetic and concatenation operations outside of the jinja template (https://github.com/ansible/ansible/pull/75587)
  • The finalize method is no longer exposed in the globals for use in templating.

amazon.aws

  • aws_caller_facts - Remove deprecated aws_caller_facts alias. Please use aws_caller_info instead.
  • cloudformation_facts - Remove deprecated cloudformation_facts alias. Please use cloudformation_info instead.
  • ec2_ami_facts - Remove deprecated ec2_ami_facts alias. Please use ec2_ami_info instead.
  • ec2_eni_facts - Remove deprecated ec2_eni_facts alias. Please use ec2_eni_info instead.
  • ec2_group_facts - Remove deprecated ec2_group_facts alias. Please use ec2_group_info instead.
  • ec2_instance_facts - Remove deprecated ec2_instance_facts alias. Please use ec2_instance_info instead.
  • ec2_snapshot_facts - Remove deprecated ec2_snapshot_facts alias. Please use ec2_snapshot_info instead.
  • ec2_vol_facts - Remove deprecated ec2_vol_facts alias. Please use ec2_vol_info instead.
  • ec2_vpc_dhcp_option_facts - Remove deprecated ec2_vpc_dhcp_option_facts alias. Please use ec2_vpc_dhcp_option_info instead.
  • ec2_vpc_endpoint_facts - Remove deprecated ec2_vpc_endpoint_facts alias. Please use ec2_vpc_endpoint_info instead.
  • ec2_vpc_igw_facts - Remove deprecated ec2_vpc_igw_facts alias. Please use ec2_vpc_igw_info instead.
  • ec2_vpc_nat_gateway_facts - Remove deprecated ec2_vpc_nat_gateway_facts alias. Please use ec2_vpc_nat_gateway_info instead.
  • ec2_vpc_net_facts - Remove deprecated ec2_vpc_net_facts alias. Please use ec2_vpc_net_info instead.
  • ec2_vpc_route_table_facts - Remove deprecated ec2_vpc_route_table_facts alias. Please use ec2_vpc_route_table_info instead.
  • ec2_vpc_subnet_facts - Remove deprecated ec2_vpc_subnet_facts alias. Please use ec2_vpc_subnet_info instead.

ansible.netcommon

  • httpapi - Change default value of import_modules option from no to yes
  • netconf - Change default value of import_modules option from no to yes
  • network_cli - Change default value of import_modules option from no to yes

arista.eos

  • eos_command - new suboption version of parameter command, which controls the JSON response version. Previously the value was assumed to be “latest” for network_cli and “1” for httpapi, but the default will now be “latest” for both connections. This option is also available for use in modules making their own device requests with plugins.module_utils.network.eos.eos.run_commands() with the same new default behavior. (https://github.com/ansible-collections/arista.eos/pull/258).
  • httpapi - the eos_use_sessions option is now a boolean instead of an integer.

community.aws

  • aws_acm_facts - Remove deprecated alias aws_acm_facts. Please use aws_acm_info instead.
  • aws_kms_facts - Remove deprecated alias aws_kms_facts. Please use aws_kms_info instead.
  • aws_kms_info - Deprecated keys_attr field is now ignored (https://github.com/ansible-collections/community.aws/pull/838).
  • aws_region_facts - Remove deprecated alias aws_region_facts. Please use aws_region_info instead.
  • aws_s3_bucket_facts - Remove deprecated alias aws_s3_bucket_facts. Please use aws_s3_bucket_info instead.
  • aws_sgw_facts - Remove deprecated alias aws_sgw_facts. Please use aws_sgw_info instead.
  • aws_waf_facts - Remove deprecated alias aws_waf_facts. Please use aws_waf_info instead.
  • cloudfront_facts - Remove deprecated alias cloudfront_facts. Please use cloudfront_info instead.
  • cloudwatchlogs_log_group_facts - Remove deprecated alias cloudwatchlogs_log_group_facts. Please use cloudwatchlogs_log_group_info instead.
  • dynamodb_table - deprecated updates currently ignored for primary keys and global_all indexes will now result in a failure. (https://github.com/ansible-collections/community.aws/pull/837).
  • ec2_asg_facts - Remove deprecated alias ec2_asg_facts. Please use ec2_asg_info instead.
  • ec2_customer_gateway_facts - Remove deprecated alias ec2_customer_gateway_facts. Please use ec2_customer_gateway_info instead.
  • ec2_eip_facts - Remove deprecated alias ec2_eip_facts. Please use ec2_eip_info instead.
  • ec2_elb_facts - Remove deprecated alias ec2_elb_facts. Please use ec2_elb_info instead.
  • ec2_elb_info - The ec2_elb_info module has been removed. Please use the ``elb_classic_lb_info module.
  • ec2_lc_facts - Remove deprecated alias ec2_lc_facts. Please use ec2_lc_info instead.
  • ec2_placement_group_facts - Remove deprecated alias ec2_placement_group_facts. Please use ec2_placement_group_info instead.
  • ec2_vpc_nacl_facts - Remove deprecated alias ec2_vpc_nacl_facts. Please use ec2_vpc_nacl_info instead.
  • ec2_vpc_peering_facts - Remove deprecated alias ec2_vpc_peering_facts. Please use ec2_vpc_peering_info instead.
  • ec2_vpc_route_table_facts - Remove deprecated alias ec2_vpc_route_table_facts. Please use ec2_vpc_route_table_info instead.
  • ec2_vpc_vgw_facts - Remove deprecated alias ec2_vpc_vgw_facts. Please use ec2_vpc_vgw_info instead.
  • ec2_vpc_vpn_facts - Remove deprecated alias ec2_vpc_vpn_facts. Please use ec2_vpc_vpn_info instead.
  • ecs_service_facts - Remove deprecated alias ecs_service_facts. Please use ecs_service_info instead.
  • ecs_taskdefinition_facts - Remove deprecated alias ecs_taskdefinition_facts. Please use ecs_taskdefinition_info instead.
  • efs_facts - Remove deprecated alias efs_facts. Please use efs_info instead.
  • elasticache_facts - Remove deprecated alias elasticache_facts. Please use elasticache_info instead.
  • elb_application_lb_facts - Remove deprecated alias elb_application_lb_facts. Please use elb_application_lb_info instead.
  • elb_classic_lb_facts - Remove deprecated alias elb_classic_lb_facts. Please use elb_classic_lb_info instead.
  • elb_target_facts - Remove deprecated alias elb_target_facts. Please use elb_target_info instead.
  • elb_target_group_facts - Remove deprecated alias elb_target_group_facts. Please use elb_target_group_info instead.
  • iam - Removed deprecated community.aws.iam module. Please use community.aws.iam_user, community.aws.iam_access_key or community.aws.iam_group (https://github.com/ansible-collections/community.aws/pull/839).
  • iam_cert_facts - Remove deprecated alias iam_cert_facts. Please use iam_cert_info instead.
  • iam_mfa_device_facts - Remove deprecated alias iam_mfa_device_facts. Please use iam_mfa_device_info instead.
  • iam_role_facts - Remove deprecated alias iam_role_facts. Please use iam_role_info instead.
  • iam_server_certificate_facts - Remove deprecated alias iam_server_certificate_facts. Please use iam_server_certificate_info instead.
  • lambda_facts - Remove deprecated module lambda_facts``. Please use lambda_info instead.
  • rds - Removed deprecated community.aws.rds module. Please use community.aws.rds_instance (https://github.com/ansible-collections/community.aws/pull/839).
  • rds_instance_facts - Remove deprecated alias rds_instance_facts. Please use rds_instance_info instead.
  • rds_snapshot_facts - Remove deprecated alias rds_snapshot_facts. Please use rds_snapshot_info instead.
  • redshift_facts - Remove deprecated alias redshift_facts. Please use redshift_info instead.
  • route53_facts - Remove deprecated alias route53_facts. Please use route53_info instead.

community.general

  • Parts of this collection do not work with ansible-core 2.11 on Python 3.12+. Please either upgrade to ansible-core 2.12+, or use Python 3.11 or earlier (https://github.com/ansible-collections/community.general/pull/3988).
  • The symbolic links used to implement flatmapping for all modules were removed and replaced by meta/runtime.yml redirects. This effectively breaks compatibility with Ansible 2.9 for all modules (without using their “long” names, which is discouraged and which can change without previous notice since they are considered an implementation detail) (https://github.com/ansible-collections/community.general/pull/4548).
  • a_module test plugin - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • archive - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • git_config - remove Ansible 2.9 and early ansible-base 2.10 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • java_keystore - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • lists_mergeby and groupby_as_dict filter plugins - adjust filter plugin filename. This change is not visible to end-users, it only affects possible other collections importing Python paths (https://github.com/ansible-collections/community.general/pull/4625).
  • lists_mergeby filter plugin - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • maven_artifact - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • memcached cache plugin - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • path_join filter plugin shim - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • redis cache plugin - remove Ansible 2.9 compatibility code (https://github.com/ansible-collections/community.general/pull/4548).
  • yarn - remove unsupported and unnecessary --no-emoji flag (https://github.com/ansible-collections/community.general/pull/4662).

community.mysql

  • mysql_replication - remove Is_Slave and Is_Master return values (were replaced with Is_Primary and Is_Replica (https://github.com/ansible-collections /community.mysql/issues/145).
  • mysql_replication - remove the mode options values containing master/slave and the master_use_gtid option slave_pos (were replaced with corresponding primary/replica values) (https://github.com/ansible-collections/community.mysql/issues/145).
  • mysql_user - remove support for the REQUIRESSL special privilege as it has ben superseded by the tls_requires option (https://github.com/ansible-collections/community.mysql/discussions/121).
  • mysql_user - validate privileges using database engine directly (https://github.com/ansible-collections/community.mysql/issues/234 https://github.com/ansible-collections/community.mysql/pull/243). Do not validate privileges in this module anymore.

community.vmware

  • The collection now requires at least ansible-core 2.11.0. Ansible 3 and before, and ansible-base versions are no longer supported.
  • vmware_cluster_drs - The default for enable has been changed from false to true.
  • vmware_cluster_drs - The parameter alias enable_drs has been removed, use enable instead.
  • vmware_cluster_ha - The default for enable has been changed from false to true.
  • vmware_cluster_ha - The parameter alias enable_ha has been removed, use enable instead.
  • vmware_cluster_vsan - The default for enable has been changed from false to true.
  • vmware_cluster_vsan - The parameter alias enable_vsan has been removed, use enable instead.
  • vmware_guest - Virtualization Based Security has some requirements (nested_virt, secure_boot and iommu) that the module silently enabled. They have to be enabled explicitly now.

dellemc.openmanage

  • HTTPS SSL certificate validation is a breaking change and will require modification in the existing playbooks. Please refer to SSL Certificate Validation section in the README.md for modification to existing playbooks.

theforeman.foreman

  • Set use_reports_api default value to true for the inventory plugin
  • Support for Ansible 2.8 is removed

Major Changes

  • Add a ansible-community CLI tool that allows to print the version of the Ansible community distribution. Use ansible-community --version to print this version.

Ansible-core

  • Jinja2 Controller Requirement - Jinja2 3.0.0 or newer is required for the control node (the machine that runs Ansible) (https://github.com/ansible/ansible/pull/75881)
  • Templating - remove safe_eval in favor of using NativeEnvironment but utilizing literal_eval only in cases when safe_eval was used (https://github.com/ansible/ansible/pull/75587)

amazon.aws

  • amazon.aws collection - The amazon.aws collection has dropped support for botocore<1.19.0 and boto3<1.16.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility 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/574).

ansible.netcommon

  • cli_parse - this module has been moved to the ansible.utils collection. ansible.netcommon.cli_parse will continue to work to reference the module in its new location, but this redirect will be removed in a future release
  • network_cli - Change default value of ssh_type option from paramiko to auto. This value will use libssh if the ansible-pylibssh module is installed, otherwise will fallback to paramiko.

arista.eos

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.
  • eos_facts - change default gather_subset to min from !config (https://github.com/ansible-collections/arista.eos/issues/306).

chocolatey.chocolatey

  • win_chocolatey - Added choco_args option to pass additional arguments directly to Chocolatey.

cisco.asa

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.

cisco.ios

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.
  • facts - default value for gather_subset is changed to min instead of !config.

cisco.iosxr

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.
  • facts - default value for gather_subset is changed to min instead of !config.

cisco.ise

  • Update ciscoisesdk requirement to 1.2.0
  • anc_endpoint_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • anc_policy_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • backup_last_status_info - change return value, it returns response content.
  • device_administration_authentication_rules - deletes parameter identitySourceId.
  • device_administration_authentication_rules_info - change return value, it returns response content.
  • device_administration_authorization_rules_info - change return value, it returns response content.
  • device_administration_conditions - deletes parameter attributeId.
  • device_administration_conditions_for_authentication_rule_info - change return value, it returns response content.
  • device_administration_conditions_for_authorization_rule_info - change return value, it returns response content.
  • device_administration_conditions_for_policy_set_info - change return value, it returns response content.
  • device_administration_conditions_info - change return value, it returns response content.
  • device_administration_dictionary_attributes_authentication_info - change return value, it returns response content.
  • device_administration_dictionary_attributes_authorization_info - change return value, it returns response content.
  • device_administration_dictionary_attributes_policy_set_info - change return value, it returns response content.
  • device_administration_global_exception_rules_info - change return value, it returns response content.
  • device_administration_network_conditions_info - change return value, it returns response content.
  • device_administration_time_date_conditions - deletes parameter attributeId.
  • device_administration_time_date_conditions_info - change return value, it returns response content.
  • egress_matrix_cell_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • network_access_authentication_rules - deletes parameter identitySourceId.
  • network_access_conditions - deletes parameter attributeId.
  • network_access_time_date_conditions - deletes parameter attributeId.
  • node_deployment - update parameters.
  • node_deployment_info - add filter and filterType parameters.
  • node_group - fixes response recollection.
  • node_group_info - fixes response recollection.
  • repository_files_info - change return value, it returns response content.
  • repository_info - change return value, it returns response content.
  • sg_acl_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sg_mapping_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sg_mapping_group_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sg_mapping_group_info - change return value, it returns BulkStatus content.
  • sg_to_vn_to_vlan_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sgt - change generationId type from int to str.
  • sgt_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sxp_connections_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sxp_local_bindings_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • sxp_vpns_bulk_monitor_status_info - change return value, it returns BulkStatus content.
  • system_certificate - new parameters portalTagTransferForSameSubject and roleTransferForSameSubject.
  • system_certificate - portalTagTransferForSameSubject parameter renamed to allowPortalTagTransferForSameSubject.
  • system_certificate - roleTransferForSameSubject parameter renamed to allowRoleTransferForSameSubject.
  • system_certificate_import - new parameters portalTagTransferForSameSubject and roleTransferForSameSubject.
  • system_certificate_import - portalTagTransferForSameSubject parameter renamed to allowPortalTagTransferForSameSubject.
  • system_certificate_import - roleTransferForSameSubject parameter renamed to allowRoleTransferForSameSubject.
  • trustsec_nbar_app_info - change type from str to list.
  • trustsec_vn_info - change type from str to list.

cisco.meraki

  • meraki_mr_radio - New module

cisco.nxos

  • The minimum required ansible.netcommon version has been bumped to v2.6.1.
  • Updated base plugin references to ansible.netcommon.
  • nxos_facts - change default gather_subset to min from !config (https://github.com/ansible-collections/cisco.nxos/issues/418).
  • nxos_file_copy has been rewritten as a module. This change also removes the dependency on pexpect for file_pull operation. Since this now uses AnsibleModule class for argspec validation, the validation messages will be slightly different. Expect changes in the return payload in some cases. All functionality remains unchanged.

community.aws

  • community.aws collection - The community.aws collection has dropped support for botocore<1.19.0 and boto3<1.16.0. Most modules will continue to work with older versions of the AWS SDK, however compatibility 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/809).
  • s3_bucket_notifications - refactor module to support SNS / SQS targets as well as the existing support for Lambda functions (https://github.com/ansible-collections/community.aws/issues/140).

community.general

  • The community.general collection no longer supports Ansible 2.9 and ansible-base 2.10. While we take no active measures to prevent usage, we will remove a lot of compatibility code and other compatility measures that will effectively prevent using most content from this collection with Ansible 2.9, and some content of this collection with ansible-base 2.10. Both Ansible 2.9 and ansible-base 2.10 will very soon be End of Life and if you are still using them, you should consider upgrading to ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.general/pull/4548).

community.mysql

  • The community.mysql collection no longer supports Ansible 2.9 and ansible-base 2.10. While we take no active measures to prevent usage and there are no plans to introduce incompatible code to the modules, we will stop testing against Ansible 2.9 and ansible-base 2.10. Both will very soon be End of Life and if you are still using them, you should consider upgrading to the latest Ansible / ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.mysql/pull/343).

community.network

  • The community.network collection no longer supports Ansible 2.9 and ansible-base 2.10. While we take no active measures to prevent usage, we will remove compatibility code and other compatility measures that will effectively prevent using most content from this collection with Ansible 2.9, and some content of this collection with ansible-base 2.10. Both Ansible 2.9 and ansible-base 2.10 will very soon be End of Life and if you are still using them, you should consider upgrading to ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.network/pull/426).

community.postgresql

  • The community.postgresql collection no longer supports Ansible 2.9 and ansible-base 2.10. While we take no active measures to prevent usage and there are no plans to introduce incompatible code to the modules, we will stop testing against Ansible 2.9 and ansible-base 2.10. Both will very soon be End of Life and if you are still using them, you should consider upgrading to the latest Ansible / ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.postgresql/pull/245).
  • postgresql_privs - the usage_on_types feature have been deprecated and will be removed in community.postgresql 3.0.0. Please use the type option with the type value to explicitly grant/revoke privileges on types (https://github.com/ansible-collections/community.postgresql/issues/207).
  • postgresql_query - the path_to_script and as_single_query options as well as the query_list and query_all_results return values have been deprecated and will be removed in community.postgresql 3.0.0. Please use the community.postgresql.postgresql_script module to execute statements from scripts (https://github.com/ansible-collections/community.postgresql/issues/189).
  • postgresql_query - the default value of the as_single_query option changes to yes. If the related behavior of your tasks where the module is involved changes, please adjust the parameter’s value correspondingly (https://github.com/ansible-collections/community.postgresql/issues/85).
  • postgresql_user - the priv argument has been deprecated and will be removed in community.postgresql 3.0.0. Please use the postgresql_privs module to grant/revoke privileges instead (https://github.com/ansible-collections/community.postgresql/issues/212).

community.vmware

  • Drop VCSIM as a test target (https://github.com/ansible-collections/community.vmware/pull/1294).

containers.podman

  • Add podman_tag module
  • Add secrets driver and driver opts support

dellemc.openmanage

  • All modules can read custom or organizational CA signed certificate from the environment variables. Please refer to SSL Certificate Validation section in the README.md for modification to existing playbooks or setting environment variable.
  • All modules now support SSL over HTTPS and socket level timeout.
  • idrac_server_config_profile - The module is enhanced to support export, import, and preview the SCP configuration using Redfish and added support for check mode.

f5networks.f5_modules

  • bigip_device_info - pagination logic has also been added to help with api stability.
  • bigip_device_info - the module no longer gathers information from all partitions on device. This change will stabalize the module by gathering resources only from the given partition and prevent the module from gathering way too much information that might result in crashing.

fortinet.fortios

  • Support FortiOS 7.0.2, 7.0.3, 7.0.4, 7.0.5.

frr.frr

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.

ibm.qradar

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.

junipernetworks.junos

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.
  • junos_facts - change default gather_subset to min from !config.

ovirt.ovirt

  • manageiq - role removed (https://github.com/oVirt/ovirt-ansible-collection/pull/375).

splunk.es

  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.

vyos.vyos

  • Add ‘pool’ as value to server key in ntp_global.
  • Minimum required ansible.netcommon version is 2.5.1.
  • Updated base plugin references to ansible.netcommon.
  • vyos_facts - change default gather_subset to min from !config (https://github.com/ansible-collections/vyos.vyos/issues/231).

Removed Collections

  • community.kubernetes (previously included version: 2.0.1)
  • community.kubevirt (previously included version: 1.0.0)

Removed Features

  • The community.kubernetes collection has been removed from Ansible 6. It has been deprecated since Ansible 4.2, and version 2.0.0 included since Ansible 5 is only a set of deprecated redirects from community.kubernetes to kubernetes.core. If you still need the redirects, you can manually install community.kubernetes with ansible-galaxy collection install community.kubernetes (https://github.com/ansible-community/community-topics/issues/93).
  • The community.kubevirt collection has been removed from Ansible 6. It has not been working with the community.kubernetes collection included since Ansible 5.0.0, and unfortunately nobody managed to adjust the collection to work with kubernetes.core >= 2.0.0. If you need to use this collection, you need to manually install community.kubernetes < 2.0.0 together with community.kubevirt with ansible-galaxy collection install community.kubevirt 'community.kubernetes:<2.0.0' (https://github.com/ansible-community/community-topics/issues/92).

Ansible-core

  • Remove deprecated Templar.set_available_variables() method (https://github.com/ansible/ansible/issues/75828)
  • cli - remove deprecated ability to set verbosity before the sub-command (https://github.com/ansible/ansible/issues/75823)
  • copy - remove deprecated thirsty alias (https://github.com/ansible/ansible/issues/75824)
  • psrp - Removed fallback on put_file with older pypsrp versions. Users must have at least pypsrp>=0.4.0.
  • url_argument_spec - remove deprecated thirsty alias for get_url and uri modules (https://github.com/ansible/ansible/issues/75825, https://github.com/ansible/ansible/issues/75826)

community.general

  • ali_instance_info - removed the options availability_zone, instance_ids, and instance_names. Use filter item zone_id instead of availability_zone, filter item instance_ids instead of instance_ids, and filter item instance_name instead of instance_names (https://github.com/ansible-collections/community.general/pull/4516).
  • apt_rpm - removed the deprecated alias update-cache of update_cache (https://github.com/ansible-collections/community.general/pull/4516).
  • compose - removed various deprecated aliases. Use the version with _ instead of - instead (https://github.com/ansible-collections/community.general/pull/4516).
  • dnsimple - remove support for dnsimple < 2.0.0 (https://github.com/ansible-collections/community.general/pull/4516).
  • github_deploy_key - removed the deprecated alias 2fa_token of otp (https://github.com/ansible-collections/community.general/pull/4516).
  • homebrew, homebrew_cask - removed the deprecated alias update-brew of update_brew (https://github.com/ansible-collections/community.general/pull/4516).
  • linode - removed the backupsenabled option. Use backupweeklyday or backupwindow to enable backups (https://github.com/ansible-collections/community.general/pull/4516).
  • opkg - removed the deprecated alias update-cache of update_cache (https://github.com/ansible-collections/community.general/pull/4516).
  • pacman - if update_cache=true is used with name or upgrade, the changed state will now also indicate if only the cache was updated. To keep the old behavior - only indicate changed when a package was installed/upgraded -, use changed_when as indicated in the module examples (https://github.com/ansible-collections/community.general/pull/4516).
  • pacman - removed the deprecated alias update-cache of update_cache (https://github.com/ansible-collections/community.general/pull/4516).
  • proxmox, proxmox_kvm, proxmox_snap - no longer allow to specify a VM name that matches multiple VMs. If this happens, the modules now fail (https://github.com/ansible-collections/community.general/pull/4516).
  • serverless - removed the functions option. It was not used by the module (https://github.com/ansible-collections/community.general/pull/4516).
  • slackpkg - removed the deprecated alias update-cache of update_cache (https://github.com/ansible-collections/community.general/pull/4516).
  • urpmi - removed the deprecated alias no-recommends of no_recommends (https://github.com/ansible-collections/community.general/pull/4516).
  • urpmi - removed the deprecated alias update-cache of update_cache (https://github.com/ansible-collections/community.general/pull/4516).
  • xbps - removed the deprecated alias update-cache of update_cache (https://github.com/ansible-collections/community.general/pull/4516).
  • xfconf - the get state has been removed. Use the xfconf_info module instead (https://github.com/ansible-collections/community.general/pull/4516).

community.hashi_vault

  • aws_iam auth - the deprecated alias aws_iam_login for the aws_iam value of the auth_method option has been removed (https://github.com/ansible-collections/community.hashi_vault/issues/194).
  • community.hashi_vault collection - support for Ansible 2.9 and ansible-base 2.10 has been removed (https://github.com/ansible-collections/community.hashi_vault/issues/189).
  • hashi_vault lookup - the deprecated [lookup_hashi_vault] INI config section has been removed in favor of the collection-wide [hashi_vault_collection] section (https://github.com/ansible-collections/community.hashi_vault/issues/179).
  • the “legacy” integration test setup has been removed; this does not affect end users and is only relevant to contributors (https://github.com/ansible-collections/community.hashi_vault/pull/191).

community.network

  • aireos modules - removed deprecated connection: local support. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • aireos modules - removed deprecated provider option. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • aruba modules - removed deprecated connection: local support. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • aruba modules - removed deprecated provider option. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • ce modules - removed deprecated connection: local support. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • ce modules - removed deprecated provider option. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • enos modules - removed deprecated connection: local support. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • enos modules - removed deprecated provider option. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • ironware modules - removed deprecated connection: local support. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • ironware modules - removed deprecated provider option. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • sros modules - removed deprecated connection: local support. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).
  • sros modules - removed deprecated provider option. Use connection: network_cli instead (https://github.com/ansible-collections/community.network/pull/440).

community.vmware

  • vcenter_extension_facts - The deprecated module vcenter_extension_facts has been removed, use vcenter_extension_info instead.
  • vmware_about_facts - The deprecated module vmware_about_facts has been removed, use vmware_about_info instead.
  • vmware_category_facts - The deprecated module vmware_category_facts has been removed, use vmware_category_info instead.
  • vmware_cluster - Remove DRS configuration in favour of module vmware_cluster_drs.
  • vmware_cluster - Remove HA configuration in favour of module vmware_cluster_ha.
  • vmware_cluster - Remove VSAN configuration in favour of module vmware_cluster_vsan.
  • vmware_cluster_facts - The deprecated module vmware_cluster_facts has been removed, use vmware_cluster_info instead.
  • vmware_datastore_facts - The deprecated module vmware_datastore_facts has been removed, use vmware_datastore_info instead.
  • vmware_drs_group_facts - The deprecated module vmware_drs_group_facts has been removed, use vmware_drs_group_info instead.
  • vmware_drs_rule_facts - The deprecated module vmware_drs_rule_facts has been removed, use vmware_drs_rule_info instead.
  • vmware_dvs_portgroup - The deprecated parameter portgroup_type has been removed, use port_binding instead.
  • vmware_dvs_portgroup_facts - The deprecated module vmware_dvs_portgroup_facts has been removed, use vmware_dvs_portgroup_info instead.
  • vmware_guest_boot_facts - The deprecated module vmware_guest_boot_facts has been removed, use vmware_guest_boot_info instead.
  • vmware_guest_customization_facts - The deprecated module vmware_guest_customization_facts has been removed, use vmware_guest_customization_info instead.
  • vmware_guest_disk_facts - The deprecated module vmware_guest_disk_facts has been removed, use vmware_guest_disk_info instead.
  • vmware_guest_facts - The deprecated module vmware_guest_facts has been removed, use vmware_guest_info instead.
  • vmware_guest_snapshot_facts - The deprecated module vmware_guest_snapshot_facts has been removed, use vmware_guest_snapshot_info instead.
  • vmware_host_capability_facts - The deprecated module vmware_host_capability_facts has been removed, use vmware_host_capability_info instead.
  • vmware_host_config_facts - The deprecated module vmware_host_config_facts has been removed, use vmware_host_config_info instead.
  • vmware_host_dns_facts - The deprecated module vmware_host_dns_facts has been removed, use vmware_host_dns_info instead.
  • vmware_host_feature_facts - The deprecated module vmware_host_feature_facts has been removed, use vmware_host_feature_info instead.
  • vmware_host_firewall_facts - The deprecated module vmware_host_firewall_facts has been removed, use vmware_host_firewall_info instead.
  • vmware_host_ntp_facts - The deprecated module vmware_host_ntp_facts has been removed, use vmware_host_ntp_info instead.
  • vmware_host_package_facts - The deprecated module vmware_host_package_facts has been removed, use vmware_host_package_info instead.
  • vmware_host_service_facts - The deprecated module vmware_host_service_facts has been removed, use vmware_host_service_info instead.
  • vmware_host_ssl_facts - The deprecated module vmware_host_ssl_facts has been removed, use vmware_host_ssl_info instead.
  • vmware_host_vmhba_facts - The deprecated module vmware_host_vmhba_facts has been removed, use vmware_host_vmhba_info instead.
  • vmware_host_vmnic_facts - The deprecated module vmware_host_vmnic_facts has been removed, use vmware_host_vmnic_info instead.
  • vmware_local_role_facts - The deprecated module vmware_local_role_facts has been removed, use vmware_local_role_info instead.
  • vmware_local_user_facts - The deprecated module vmware_local_user_facts has been removed, use vmware_local_user_info instead.
  • vmware_portgroup_facts - The deprecated module vmware_portgroup_facts has been removed, use vmware_portgroup_info instead.
  • vmware_resource_pool_facts - The deprecated module vmware_resource_pool_facts has been removed, use vmware_resource_pool_info instead.
  • vmware_tag_facts - The deprecated module vmware_tag_facts has been removed, use vmware_tag_info instead.
  • vmware_target_canonical_facts - The deprecated module vmware_target_canonical_facts has been removed, use vmware_target_canonical_info instead.
  • vmware_vm_facts - The deprecated module vmware_vm_facts has been removed, use vmware_vm_info instead.
  • vmware_vmkernel_facts - The deprecated module vmware_vmkernel_facts has been removed, use vmware_vmkernel_info instead.
  • vmware_vmkernel_ip_config - The deprecated module vmware_vmkernel_ip_config has been removed, use vmware_vmkernel instead.
  • vmware_vswitch_facts - The deprecated module vmware_vswitch_facts has been removed, use vmware_vswitch_info instead.

Deprecated Features

  • The collection community.sap has been renamed to community.sap_libs. For now both collections are included in Ansible. The content in community.sap will be replaced with deprecated redirects to the new collection in Ansible 7.0.0, and these redirects will eventually be removed from Ansible. Please update your FQCNs for community.sap.

Ansible-core

  • ansible-core - Remove support for Python 2.6.
  • ansible-test - Remove support for Python 2.6.
  • ssh connection plugin option scp_if_ssh in favor of ssh_transfer_method.

amazon.aws

  • ec2_instance - The default value for `instance_type` has been deprecated, in the future release you must set an instance_type or a launch_template (https://github.com/ansible-collections/amazon.aws/pull/587).
  • module_utils - support for the original AWS SDK boto has been deprecated in favour of the boto3/botocore SDK. All boto based modules have either been deprecated or migrated to botocore, and the remaining support code in module_utils will be removed in release 4.0.0 of the amazon.aws collection. Any modules outside of the amazon.aws and community.aws collections based on the boto library will need to be migrated to the boto3/botocore libraries (https://github.com/ansible-collections/amazon.aws/pull/575).

cisco.ios

  • Deprecates lldp module.
  • ios_acls - Deprecated fragment attribute added boolean alternate as enable_fragment.

cisco.nxos

  • Deprecated nxos_snmp_community module.
  • Deprecated nxos_snmp_contact module.
  • Deprecated nxos_snmp_host module.
  • Deprecated nxos_snmp_location module.
  • Deprecated nxos_snmp_traps module.
  • Deprecated nxos_snmp_user module.

community.docker

  • Support for Ansible 2.9 and ansible-base 2.10 is deprecated, and will be removed in the next major release (community.docker 3.0.0). Some modules might still work with these versions afterwards, but we will no longer keep compatibility code that was needed to support them (https://github.com/ansible-collections/community.docker/pull/361).
  • The dependency on docker-compose for Execution Environments is deprecated and will be removed in community.docker 3.0.0. The Python docker-compose library is unmaintained and can cause dependency issues. You can manually still install it in an Execution Environment when needed (https://github.com/ansible-collections/community.docker/pull/373).
  • Various modules - the default of tls_hostname that was supposed to be removed in community.docker 2.0.0 will now be removed in version 3.0.0 (https://github.com/ansible-collections/community.docker/pull/362).
  • docker_stack - the return values out and err that were supposed to be removed in community.docker 2.0.0 will now be removed in version 3.0.0 (https://github.com/ansible-collections/community.docker/pull/362).

community.general

  • ansible_galaxy_install - deprecated support for ansible 2.9 and ansible-base 2.10 (https://github.com/ansible-collections/community.general/pull/4601).
  • dig lookup plugin - the DLV record type has been decommissioned in 2017 and support for it will be removed from community.general 6.0.0 (https://github.com/ansible-collections/community.general/pull/4618).
  • gem - the default of the norc option has been deprecated and will change to true in community.general 6.0.0. Explicitly specify a value to avoid a deprecation warning (https://github.com/ansible-collections/community.general/pull/4517).
  • mail callback plugin - not specifying sender is deprecated and will be disallowed in community.general 6.0.0 (https://github.com/ansible-collections/community.general/pull/4140).
  • module_helper module utils - deprecated the attribute ModuleHelper.VarDict (https://github.com/ansible-collections/community.general/pull/3801).
  • nmcli - deprecate default hairpin mode for a bridge. This so we can change it to false in community.general 7.0.0, as this is also the default in nmcli (https://github.com/ansible-collections/community.general/pull/4334).
  • pacman - from community.general 5.0.0 on, the changed status of update_cache will no longer be ignored if name or upgrade is specified. To keep the old behavior, add something like register: result and changed_when: result.packages | length > 0 to your task (https://github.com/ansible-collections/community.general/pull/4329).
  • proxmox inventory plugin - the current default true of the want_proxmox_nodes_ansible_host option has been deprecated. The default will change to false in community.general 6.0.0. To keep the current behavior, explicitly set want_proxmox_nodes_ansible_host to true in your inventory configuration. We suggest to already switch to the new behavior by explicitly setting it to false, and by using compose: to set ansible_host to the correct value. See the examples in the plugin documentation for details (https://github.com/ansible-collections/community.general/pull/4466).
  • vmadm - deprecated module parameter debug that was not used anywhere (https://github.com/ansible-collections/community.general/pull/4580).

community.hashi_vault

  • Support for Ansible 2.9 and ansible-base 2.10 is deprecated, and will be removed in the next major release (community.hashi_vault 3.0.0) next spring (https://github.com/ansible-community/community-topics/issues/50, https://github.com/ansible-collections/community.hashi_vault/issues/189).
  • aws_iam_login auth method - the aws_iam_login method has been renamed to aws_iam. The old name will be removed in collection version 3.0.0. Until then both names will work, and a warning will be displayed when using the old name (https://github.com/ansible-collections/community.hashi_vault/pull/193).
  • token_validate options - the shared auth option token_validate will change its default from True to False in community.hashi_vault version 4.0.0. The vault_login lookup and module will keep the default value of True (https://github.com/ansible-collections/community.hashi_vault/issues/248).
  • token_validate options - the shared auth option token_validate will change its default from true to false in community.hashi_vault version 4.0.0. The vault_login lookup and module will keep the default value of true (https://github.com/ansible-collections/community.hashi_vault/issues/248).

community.network

  • Support for Ansible 2.9 and ansible-base 2.10 is deprecated, and will be removed in the next major release (community.network 4.0.0) this spring. While most content will probably still work with ansible-base 2.10, we will remove symbolic links for modules and action plugins, which will make it impossible to use them with Ansible 2.9 anymore. Please use community.network 3.x.y with Ansible 2.9 and ansible-base 2.10, as these releases will continue to support Ansible 2.9 and ansible-base 2.10 even after they are End of Life (https://github.com/ansible-community/community-topics/issues/50, https://github.com/ansible-collections/community.network/pull/382).

junipernetworks.junos

  • ‘router_id’ options is deprecated from junos_ospf_interfaces, junos_ospfv2 and junos_ospfv3 resource module.

purestorage.flasharray

  • purefa_sso - Deprecated in favor of M(purefa_admin). Will be removed in Collection 2.0

© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/porting_guides/porting_guide_6.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API