Ansible 2.21
Supported- Released
- May 31, 2026
- Latest patch
- 2.21.7 · Nov 30, 2026
- Active support until
- —
- End of life
- Nov 30, 2027
- Official release notes
- https://github.com/ansible/ansible/blob/stable-2.21/changelogs/CHANGELOG-v2.21.rst ↗
What's new in Ansible 2.21.6
This is a security and bug-fix release of Ansible 2.21 (ansible-core), with no breaking changes or deprecations listed for this version.
- Security:
ansible-galaxy collection installnow checks that FILES.json entries stay inside the collection before creating them (CVE-2026-89091). - Security:
ansible-galaxy role installnow checks that role names stay contained within the configured role path (CVE-2026-105929). - Bugfix: The
gitmodule was updated to avoid reading incorrect parameters from repo targets (CVE-2026-84503). - Bugfix: Initial facts from
run_oncetasks no longer share one object, so each host can update its own facts.mask_urlnow handles parse exceptions without disclosing the URL, and the sudo become plugin works with sudo-rs for non-English locales. - Bugfix: On BusyBox systems, the
usermodule keeps the existing password lock marker whenpassword_lockis omitted. - Minor:
ansible-testreplaces the FreeBSD 14.4, FreeBSD 15.0, RHEL 9.7 and RHEL 10.1 remotes with FreeBSD 14.5, FreeBSD 15.1, RHEL 9.8 and RHEL 10.2.
Based on the official release notes.
FAQ
When was Ansible 2.21 released?
Ansible 2.21 was released on May 31, 2026.
What is the latest Ansible 2.21 release?
The latest release in the Ansible 2.21 cycle is 2.21.7, released on November 30, 2026.
Is Ansible 2.21 still supported?
Yes. Ansible 2.21 is supported until November 30, 2027.
When does Ansible 2.21 reach end of life?
Ansible 2.21 reaches end of life on November 30, 2027.
Data: endoflife.date.