Ansible13
This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.
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
- Name: [[User:gotmax23| Maxwell G]]; [[User:nirik| Kevin Fenzi]]
- Email: maxwell@gtmx.me; kevin@scrye.com
Detailed Description
The premise of the change proposal is simple — a major version update from Ansible 11 ({{package|ansible}}) / Ansible Core 2.18 ({{package|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. See the [Ansible 12 Porting Guide — Ansible Community Documentation Ansible 12 (core 2.19)] and [Ansible 13 Porting Guide — Ansible Community Documentation Ansible 13 (core 2.20)] porting guides for more information.
Feedback
N/A
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.
** 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.
Early Testing (Optional)
N/A
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
Documentation
- [Ansible 12 Porting Guide — Ansible Community Documentation Ansible 12 Porting Guide]
- [Ansible 13 Porting Guide — Ansible Community Documentation Ansible 13 Porting Guide]
Release Notes
\nUpdate to Ansible 13 and Ansible Core 2.20, which includes major changes to the playbook jinja2 templating engine.
Last edited by @alking 2025-11-17T15:25:20Z
Last edited by @alking 2025-11-17T15:25:20Z