Ansible Core 2.21.0b3: What's New in the Latest Beta (Preview Guide)
By Luca Berton · Published 2024-01-01 · Category: installation
Ansible-core 2.21.0b3 beta release overview. New features, improvements, upgrade considerations, and what to expect in the upcoming stable release.
Introduction
The Ansible community has released ansible-core 2.21.0b3, the third beta of the upcoming major release. This beta gives automation engineers a chance to test new features and provide feedback before the stable release.
Alongside this beta, the community also shipped maintenance releases for the current stable branches: ansible-core 2.20.5, 2.19.9, and 2.18.16.
Current Release Landscape
Understanding the ansible-core release branches helps you plan your upgrade path:
| Branch | Latest Version | Status | |--------|---------------|--------| | 2.21.x | 2.21.0b3 | Beta (pre-release) | | 2.20.x | 2.20.5 | Current stable | | 2.19.x | 2.19.9 | Maintenance | | 2.18.x | 2.18.16 | Extended maintenance |
Installing the Beta
Test the beta in a virtual environment to avoid impacting production:
Or install manually:
Testing Your Existing Playbooks
Before upgrading to any new major version, test your existing automation:
Maintenance Releases: What Was Fixed
ansible-core 2.20.5
The current stable release received bug fixes and security patches. If you're running 2.20.x in production, upgrade to 2.20.5:
ansible-core 2.19.9
For organizations still on the 2.19.x branch, this maintenance release includes important fixes:
ansible-core 2.18.16
Extended maintenance release for the 2.18.x branch:
Upgrade Planning Playbook
Use this playbook to plan your upgrade across environments:
Best Practices for Beta Testing Never run betas in production — use isolated test environments Test your most complex playbooks first — they're most likely to surface issues Report bugs upstream — beta feedback shapes the stable release Check the porting guide — review breaking changes before testing Use FQCN everywhere — ansible.builtin.command not command
FAQ
When will ansible-core 2.21 stable be released?
The beta phase typically lasts 4-8 weeks. Based on the b3 release in April 2026, expect stable around June-July 2026.
Should I upgrade from 2.20.x to 2.21 beta?
No. Stay on 2.20.5 stable for production. Only test 2.21 beta in isolated environments to prepare for the future upgrade.
What Python version does ansible-core 2.21 require?
Check the official documentation, but ansible-core has been progressively raising the minimum Python version. Expect Python 3.10+ for control nodes.
How do I report issues found during beta testing?
File issues on the ansible-core GitHub repository with detailed reproduction steps.
Conclusion
The ansible-core 2.21.0b3 release shows active development and continuous improvement of the Ansible automation engine. While you should stay on 2.20.5 for production workloads, testing the beta now helps you prepare for a smooth upgrade when stable lands.
Recommended action: Upgrade production to ansible-core 2.20.5 if you haven't already, and start beta testing 2.21 in isolated environments.
Related Articles • Ansible 13 to Ansible 14 Upgrade Guide • How to Install Ansible on Ubuntu 24.04 • Ansible Best Practices for Enterprise
Category: installation