From Fedora Project Wiki

Ansible 13

Summary

Update to from Ansible 11 and Ansible Core 2.18 to Ansible 13 and Ansible Core 2.20, which includes major robustness and security fixes to the templating engine which could break existing playbooks that had incorrect behavior that was silently ignored in previous releases.

Owner

Current status

Detailed Description

The premise of the change proposal is simple — a major version update from Ansible 11 (ansible) / Ansible Core 2.18 (ansible-core) to Ansible 13 / Ansible Core 2.20. This is being filed as a Change proposal instead of a standard update due to major internal changes.

These changes include major robustness and security enhancements to the templating engine that were introduced in Ansible Core 2.19 which could break existing playbooks that had incorrect behavior that was silently ignored in previous releases. Error handling in general has been greatly improved as a result of the templating changes. There is also the INJECT_FACTS_AS_VARS deprecation introduced in Ansible Core 2.20. Core 2.20 additionally removes support for controlling nodes running Python 3.8 (e.g., Ubuntu 20.04). See the Ansible 12 (core 2.19) and Ansible 13 (core 2.20) porting guides for more information.

Feedback

Benefit to Fedora

Fedora will have the latest version of Ansible and the latest features and enhancements and continue receiving upstream support.

Scope

  • Proposal owners:
    • Update the ansible and ansible-core packages
    • Ensure Ansible Collections packages in Fedora are up to date and compatible with the latest Ansible Core version.
  • Other developers:
    • Ensure Ansible Collections packages in Fedora that are maintained by packagers other than the Change owners are up to date and compatible with the latest Ansible Core version.

Upgrade/compatibility impact

See above.

How To Test

Install the latest ansible/ansible-core packages once they arrive in the Fedora repos and ensure that your existing playbooks and installed collections and roles continue to function.

User Experience

Users will have the latest version of Ansible and Ansible Core.

Dependencies

Ansible Collection packages in Fedora should be tested against the new ansible-core release.

Contingency Plan

  • Contingency mechanism: Revert ansible-core and ansible updates
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No

Documentation

Release Notes

Update to Ansible 13 and Ansible Core 2.20, which includes major changes to the playbook jinja2 templating engine and other breaking changes.