Ansible 6 Porting Guide
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- AnsibleUndefinedobject changed.- {{ '%r'|format(undefined_variable) }}returns- AnsibleUndefined(hint=None, obj=missing, name='undefined_variable')in 2.13 as opposed to just- AnsibleUndefinedin versions 2.12 and prior.
- The - finalizemethod is no longer exposed in the globals for use in templating. To convert- Noneto 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.basicwill 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_urlwill now return the captured- HTTPErrorexception as- r.- HTTPErroris a response like object that can offer more information to module authors. Modules should rely on- info['status'] >= 400to determine if there was a failure, instead of using- r is Noneor catching- AttributeErrorwhen 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 treeare 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-templatepaths are not fully implemeted for ROS6 due to the significat 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.ufwis 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.commandmodule 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 - - revisionis 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_fmtmodule util (https://github.com/ansible-collections/community.general/pull/5370).
- CmdMixin module utils - deprecated in favor of the - CmdRunnermodule util (https://github.com/ansible-collections/community.general/pull/5370).
- CmdModuleHelper module utils - deprecated in favor of the - CmdRunnermodule util (https://github.com/ansible-collections/community.general/pull/5370).
- CmdStateModuleHelper module utils - deprecated in favor of the - CmdRunnermodule 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,- syncdband- validatethat 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 - - appnameand- environmentare 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
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 - unprivilegeddefault value, will be changed to- truein community.general 7.0.0 (https://github.com/pull/5224).
Porting Guide for v6.3.0
Major Changes
community.mysql
- mysql_db - the - pipefailargument’s default value will be changed to- truein community.mysql 4.0.0. If your target machines do not use- bashas a default interpreter, set- pipefailto- falseexplicitly. However, we strongly recommend setting up- bashas a default and- pipefail=trueas 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 - groupsargument has been deprecated and will be removed in- community.postgresql 3.0.0. Please use the- postgresql_membershipmodule 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 optionin the- vault_kv2_getlookup only will change its default from- kvto- secretin 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 settingif 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_capis 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
Deprecated Features
cisco.ios
- Deprecated ios_linkagg_module in favor of ios_lag_interfaces. 
community.aws
- aws_codebuild - The - tagsparameter 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- HealthCheckshave been deprecated, in the future release you must use snake_case return values- hosted_zones,- resource_record_sets, and- health_checksinstead 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 - fmtin favour of- cmd_runner_fmtas 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_modecorrectly 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_modulesenabled. This can be avoided by setting- import_modules: no
community.general
- pacman - - update_cachecannot differentiate between up to date and outdated package lists and will report- changedin both situations (https://github.com/ansible-collections/community.general/pull/4318).
- pacman - binaries specified in the - executableparameter must support- --print-formatin order to be used by this module. In particular, AUR helper- yayis 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 settingif 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_capis 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_capis 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_capis 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 - finalizemethod is no longer exposed in the globals for use in templating.
amazon.aws
- aws_caller_facts - Remove deprecated - aws_caller_factsalias. Please use- aws_caller_infoinstead.
- cloudformation_facts - Remove deprecated - cloudformation_factsalias. Please use- cloudformation_infoinstead.
- ec2_ami_facts - Remove deprecated - ec2_ami_factsalias. Please use- ec2_ami_infoinstead.
- ec2_eni_facts - Remove deprecated - ec2_eni_factsalias. Please use- ec2_eni_infoinstead.
- ec2_group_facts - Remove deprecated - ec2_group_factsalias. Please use- ec2_group_infoinstead.
- ec2_instance_facts - Remove deprecated - ec2_instance_factsalias. Please use- ec2_instance_infoinstead.
- ec2_snapshot_facts - Remove deprecated - ec2_snapshot_factsalias. Please use- ec2_snapshot_infoinstead.
- ec2_vol_facts - Remove deprecated - ec2_vol_factsalias. Please use- ec2_vol_infoinstead.
- ec2_vpc_dhcp_option_facts - Remove deprecated - ec2_vpc_dhcp_option_factsalias. Please use- ec2_vpc_dhcp_option_infoinstead.
- ec2_vpc_endpoint_facts - Remove deprecated - ec2_vpc_endpoint_factsalias. Please use- ec2_vpc_endpoint_infoinstead.
- ec2_vpc_igw_facts - Remove deprecated - ec2_vpc_igw_factsalias. Please use- ec2_vpc_igw_infoinstead.
- ec2_vpc_nat_gateway_facts - Remove deprecated - ec2_vpc_nat_gateway_factsalias. Please use- ec2_vpc_nat_gateway_infoinstead.
- ec2_vpc_net_facts - Remove deprecated - ec2_vpc_net_factsalias. Please use- ec2_vpc_net_infoinstead.
- ec2_vpc_route_table_facts - Remove deprecated - ec2_vpc_route_table_factsalias. Please use- ec2_vpc_route_table_infoinstead.
- ec2_vpc_subnet_facts - Remove deprecated - ec2_vpc_subnet_factsalias. Please use- ec2_vpc_subnet_infoinstead.
ansible.netcommon
- httpapi - Change default value of - import_modulesoption from- noto- yes
- netconf - Change default value of - import_modulesoption from- noto- yes
- network_cli - Change default value of - import_modulesoption from- noto- yes
arista.eos
- eos_command - new suboption - versionof 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_sessionsoption is now a boolean instead of an integer.
community.aws
- aws_acm_facts - Remove deprecated alias - aws_acm_facts. Please use- aws_acm_infoinstead.
- aws_kms_facts - Remove deprecated alias - aws_kms_facts. Please use- aws_kms_infoinstead.
- aws_kms_info - Deprecated - keys_attrfield 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_infoinstead.
- aws_s3_bucket_facts - Remove deprecated alias - aws_s3_bucket_facts. Please use- aws_s3_bucket_infoinstead.
- aws_sgw_facts - Remove deprecated alias - aws_sgw_facts. Please use- aws_sgw_infoinstead.
- aws_waf_facts - Remove deprecated alias - aws_waf_facts. Please use- aws_waf_infoinstead.
- cloudfront_facts - Remove deprecated alias - cloudfront_facts. Please use- cloudfront_infoinstead.
- cloudwatchlogs_log_group_facts - Remove deprecated alias - cloudwatchlogs_log_group_facts. Please use- cloudwatchlogs_log_group_infoinstead.
- 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_infoinstead.
- ec2_customer_gateway_facts - Remove deprecated alias - ec2_customer_gateway_facts. Please use- ec2_customer_gateway_infoinstead.
- ec2_eip_facts - Remove deprecated alias - ec2_eip_facts. Please use- ec2_eip_infoinstead.
- ec2_elb_facts - Remove deprecated alias - ec2_elb_facts. Please use- ec2_elb_infoinstead.
- ec2_elb_info - The - ec2_elb_infomodule has been removed. Please use- the ``elb_classic_lb_infomodule.
- ec2_lc_facts - Remove deprecated alias - ec2_lc_facts. Please use- ec2_lc_infoinstead.
- ec2_placement_group_facts - Remove deprecated alias - ec2_placement_group_facts. Please use- ec2_placement_group_infoinstead.
- ec2_vpc_nacl_facts - Remove deprecated alias - ec2_vpc_nacl_facts. Please use- ec2_vpc_nacl_infoinstead.
- ec2_vpc_peering_facts - Remove deprecated alias - ec2_vpc_peering_facts. Please use- ec2_vpc_peering_infoinstead.
- ec2_vpc_route_table_facts - Remove deprecated alias - ec2_vpc_route_table_facts. Please use- ec2_vpc_route_table_infoinstead.
- ec2_vpc_vgw_facts - Remove deprecated alias - ec2_vpc_vgw_facts. Please use- ec2_vpc_vgw_infoinstead.
- ec2_vpc_vpn_facts - Remove deprecated alias - ec2_vpc_vpn_facts. Please use- ec2_vpc_vpn_infoinstead.
- ecs_service_facts - Remove deprecated alias - ecs_service_facts. Please use- ecs_service_infoinstead.
- ecs_taskdefinition_facts - Remove deprecated alias - ecs_taskdefinition_facts. Please use- ecs_taskdefinition_infoinstead.
- efs_facts - Remove deprecated alias - efs_facts. Please use- efs_infoinstead.
- elasticache_facts - Remove deprecated alias - elasticache_facts. Please use- elasticache_infoinstead.
- elb_application_lb_facts - Remove deprecated alias - elb_application_lb_facts. Please use- elb_application_lb_infoinstead.
- elb_classic_lb_facts - Remove deprecated alias - elb_classic_lb_facts. Please use- elb_classic_lb_infoinstead.
- elb_target_facts - Remove deprecated alias - elb_target_facts. Please use- elb_target_infoinstead.
- elb_target_group_facts - Remove deprecated alias - elb_target_group_facts. Please use- elb_target_group_infoinstead.
- iam - Removed deprecated - community.aws.iammodule. Please use- community.aws.iam_user,- community.aws.iam_access_keyor- 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_infoinstead.
- iam_mfa_device_facts - Remove deprecated alias - iam_mfa_device_facts. Please use- iam_mfa_device_infoinstead.
- iam_role_facts - Remove deprecated alias - iam_role_facts. Please use- iam_role_infoinstead.
- iam_server_certificate_facts - Remove deprecated alias - iam_server_certificate_facts. Please use- iam_server_certificate_infoinstead.
- lambda_facts - Remove deprecated module lambda_facts``. Please use - lambda_infoinstead.
- rds - Removed deprecated - community.aws.rdsmodule. 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_infoinstead.
- rds_snapshot_facts - Remove deprecated alias - rds_snapshot_facts. Please use- rds_snapshot_infoinstead.
- redshift_facts - Remove deprecated alias - redshift_facts. Please use- redshift_infoinstead.
- route53_facts - Remove deprecated alias - route53_facts. Please use- route53_infoinstead.
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.ymlredirects. 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-emojiflag (https://github.com/ansible-collections/community.general/pull/4662).
community.mysql
- mysql_replication - remove - Is_Slaveand- Is_Masterreturn values (were replaced with- Is_Primaryand- Is_Replica(https://github.com/ansible-collections /community.mysql/issues/145).
- mysql_replication - remove the mode options values containing - master/- slaveand the master_use_gtid option- slave_pos(were replaced with corresponding- primary/- replicavalues) (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 - enablehas been changed from- falseto- true.
- vmware_cluster_drs - The parameter alias - enable_drshas been removed, use- enableinstead.
- vmware_cluster_ha - The default for - enablehas been changed from- falseto- true.
- vmware_cluster_ha - The parameter alias - enable_hahas been removed, use- enableinstead.
- vmware_cluster_vsan - The default for - enablehas been changed from- falseto- true.
- vmware_cluster_vsan - The parameter alias - enable_vsanhas been removed, use- enableinstead.
- vmware_guest - Virtualization Based Security has some requirements ( - nested_virt,- secure_bootand- 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-communityCLI tool that allows to print the version of the Ansible community distribution. Use- ansible-community --versionto 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_evalin favor of using- NativeEnvironmentbut utilizing- literal_evalonly in cases when- safe_evalwas used (https://github.com/ansible/ansible/pull/75587)
amazon.aws
- amazon.aws collection - The amazon.aws collection has dropped support for - botocore<1.19.0and- 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_parsewill 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.0and- 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.9and- 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.9and- 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 lateras 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.9and- 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.9and- 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 lateras soon as possible (https://github.com/ansible-collections/community.postgresql/pull/245).
- postgresql_privs - the - usage_on_typesfeature have been deprecated and will be removed in- community.postgresql 3.0.0. Please use the- typeoption with the- typevalue to explicitly grant/revoke privileges on types (https://github.com/ansible-collections/community.postgresql/issues/207).
- postgresql_query - the - path_to_scriptand- as_single_queryoptions as well as the- query_listand- query_all_resultsreturn values have been deprecated and will be removed in- community.postgresql 3.0.0. Please use the- community.postgresql.postgresql_scriptmodule to execute statements from scripts (https://github.com/ansible-collections/community.postgresql/issues/189).
- postgresql_query - the default value of the - as_single_queryoption 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 - privargument has been deprecated and will be removed in- community.postgresql 3.0.0. Please use the- postgresql_privsmodule 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 - thirstyalias (https://github.com/ansible/ansible/issues/75824)
- psrp - Removed fallback on - put_filewith older- pypsrpversions. Users must have at least- pypsrp>=0.4.0.
- url_argument_spec - remove deprecated - thirstyalias for- get_urland- urimodules (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_idinstead of- availability_zone, filter item- instance_idsinstead of- instance_ids, and filter item- instance_nameinstead of- instance_names(https://github.com/ansible-collections/community.general/pull/4516).
- apt_rpm - removed the deprecated alias - update-cacheof- 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_tokenof- otp(https://github.com/ansible-collections/community.general/pull/4516).
- homebrew, homebrew_cask - removed the deprecated alias - update-brewof- update_brew(https://github.com/ansible-collections/community.general/pull/4516).
- linode - removed the - backupsenabledoption. Use- backupweeklydayor- backupwindowto enable backups (https://github.com/ansible-collections/community.general/pull/4516).
- opkg - removed the deprecated alias - update-cacheof- update_cache(https://github.com/ansible-collections/community.general/pull/4516).
- pacman - if - update_cache=trueis used with- nameor- upgrade, the changed state will now also indicate if only the cache was updated. To keep the old behavior - only indicate- changedwhen a package was installed/upgraded -, use- changed_whenas indicated in the module examples (https://github.com/ansible-collections/community.general/pull/4516).
- pacman - removed the deprecated alias - update-cacheof- 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 - functionsoption. It was not used by the module (https://github.com/ansible-collections/community.general/pull/4516).
- slackpkg - removed the deprecated alias - update-cacheof- update_cache(https://github.com/ansible-collections/community.general/pull/4516).
- urpmi - removed the deprecated alias - no-recommendsof- no_recommends(https://github.com/ansible-collections/community.general/pull/4516).
- urpmi - removed the deprecated alias - update-cacheof- update_cache(https://github.com/ansible-collections/community.general/pull/4516).
- xbps - removed the deprecated alias - update-cacheof- update_cache(https://github.com/ansible-collections/community.general/pull/4516).
- xfconf - the - getstate has been removed. Use the- xfconf_infomodule instead (https://github.com/ansible-collections/community.general/pull/4516).
community.hashi_vault
- aws_iam auth - the deprecated alias - aws_iam_loginfor the- aws_iamvalue of the- auth_methodoption 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: localsupport. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- aireos modules - removed deprecated - provideroption. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- aruba modules - removed deprecated - connection: localsupport. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- aruba modules - removed deprecated - provideroption. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- ce modules - removed deprecated - connection: localsupport. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- ce modules - removed deprecated - provideroption. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- enos modules - removed deprecated - connection: localsupport. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- enos modules - removed deprecated - provideroption. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- ironware modules - removed deprecated - connection: localsupport. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- ironware modules - removed deprecated - provideroption. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- sros modules - removed deprecated - connection: localsupport. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
- sros modules - removed deprecated - provideroption. Use- connection: network_cliinstead (https://github.com/ansible-collections/community.network/pull/440).
community.vmware
- vcenter_extension_facts - The deprecated module - vcenter_extension_factshas been removed, use- vcenter_extension_infoinstead.
- vmware_about_facts - The deprecated module - vmware_about_factshas been removed, use- vmware_about_infoinstead.
- vmware_category_facts - The deprecated module - vmware_category_factshas been removed, use- vmware_category_infoinstead.
- 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_factshas been removed, use- vmware_cluster_infoinstead.
- vmware_datastore_facts - The deprecated module - vmware_datastore_factshas been removed, use- vmware_datastore_infoinstead.
- vmware_drs_group_facts - The deprecated module - vmware_drs_group_factshas been removed, use- vmware_drs_group_infoinstead.
- vmware_drs_rule_facts - The deprecated module - vmware_drs_rule_factshas been removed, use- vmware_drs_rule_infoinstead.
- vmware_dvs_portgroup - The deprecated parameter - portgroup_typehas been removed, use- port_bindinginstead.
- vmware_dvs_portgroup_facts - The deprecated module - vmware_dvs_portgroup_factshas been removed, use- vmware_dvs_portgroup_infoinstead.
- vmware_guest_boot_facts - The deprecated module - vmware_guest_boot_factshas been removed, use- vmware_guest_boot_infoinstead.
- vmware_guest_customization_facts - The deprecated module - vmware_guest_customization_factshas been removed, use- vmware_guest_customization_infoinstead.
- vmware_guest_disk_facts - The deprecated module - vmware_guest_disk_factshas been removed, use- vmware_guest_disk_infoinstead.
- vmware_guest_facts - The deprecated module - vmware_guest_factshas been removed, use- vmware_guest_infoinstead.
- vmware_guest_snapshot_facts - The deprecated module - vmware_guest_snapshot_factshas been removed, use- vmware_guest_snapshot_infoinstead.
- vmware_host_capability_facts - The deprecated module - vmware_host_capability_factshas been removed, use- vmware_host_capability_infoinstead.
- vmware_host_config_facts - The deprecated module - vmware_host_config_factshas been removed, use- vmware_host_config_infoinstead.
- vmware_host_dns_facts - The deprecated module - vmware_host_dns_factshas been removed, use- vmware_host_dns_infoinstead.
- vmware_host_feature_facts - The deprecated module - vmware_host_feature_factshas been removed, use- vmware_host_feature_infoinstead.
- vmware_host_firewall_facts - The deprecated module - vmware_host_firewall_factshas been removed, use- vmware_host_firewall_infoinstead.
- vmware_host_ntp_facts - The deprecated module - vmware_host_ntp_factshas been removed, use- vmware_host_ntp_infoinstead.
- vmware_host_package_facts - The deprecated module - vmware_host_package_factshas been removed, use- vmware_host_package_infoinstead.
- vmware_host_service_facts - The deprecated module - vmware_host_service_factshas been removed, use- vmware_host_service_infoinstead.
- vmware_host_ssl_facts - The deprecated module - vmware_host_ssl_factshas been removed, use- vmware_host_ssl_infoinstead.
- vmware_host_vmhba_facts - The deprecated module - vmware_host_vmhba_factshas been removed, use- vmware_host_vmhba_infoinstead.
- vmware_host_vmnic_facts - The deprecated module - vmware_host_vmnic_factshas been removed, use- vmware_host_vmnic_infoinstead.
- vmware_local_role_facts - The deprecated module - vmware_local_role_factshas been removed, use- vmware_local_role_infoinstead.
- vmware_local_user_facts - The deprecated module - vmware_local_user_factshas been removed, use- vmware_local_user_infoinstead.
- vmware_portgroup_facts - The deprecated module - vmware_portgroup_factshas been removed, use- vmware_portgroup_infoinstead.
- vmware_resource_pool_facts - The deprecated module - vmware_resource_pool_factshas been removed, use- vmware_resource_pool_infoinstead.
- vmware_tag_facts - The deprecated module - vmware_tag_factshas been removed, use- vmware_tag_infoinstead.
- vmware_target_canonical_facts - The deprecated module - vmware_target_canonical_factshas been removed, use- vmware_target_canonical_infoinstead.
- vmware_vm_facts - The deprecated module - vmware_vm_factshas been removed, use- vmware_vm_infoinstead.
- vmware_vmkernel_facts - The deprecated module - vmware_vmkernel_factshas been removed, use- vmware_vmkernel_infoinstead.
- vmware_vmkernel_ip_config - The deprecated module - vmware_vmkernel_ip_confighas been removed, use- vmware_vmkernelinstead.
- vmware_vswitch_facts - The deprecated module - vmware_vswitch_factshas been removed, use- vmware_vswitch_infoinstead.
Deprecated Features
- The collection - community.saphas been renamed to- community.sap_libs. For now both collections are included in Ansible. The content in- community.sapwill 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_hostnamethat 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 - outand- errthat 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 - ansible2.9 and- ansible-base2.10 (https://github.com/ansible-collections/community.general/pull/4601).
- dig lookup plugin - the - DLVrecord 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 - norcoption has been deprecated and will change to- truein 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 - senderis 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 - falsein 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 - changedstatus of- update_cachewill no longer be ignored if- nameor- upgradeis specified. To keep the old behavior, add something like- register: resultand- changed_when: result.packages | length > 0to your task (https://github.com/ansible-collections/community.general/pull/4329).
- proxmox inventory plugin - the current default - trueof the- want_proxmox_nodes_ansible_hostoption has been deprecated. The default will change to- falsein community.general 6.0.0. To keep the current behavior, explicitly set- want_proxmox_nodes_ansible_hostto- truein 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_hostto 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 - debugthat 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_loginmethod 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_validatewill change its default from- Trueto- Falsein community.hashi_vault version 4.0.0. The- vault_loginlookup 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_validatewill change its default from- trueto- falsein community.hashi_vault version 4.0.0. The- vault_loginlookup 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 
