Background
Ansible Core 2.19 is slated to receive the Data Tagging feature we’ve been talking about and developing for several years. It’s been a long process, culminating in the largest set of changes to ansible-core since collections, including a significant overhaul of the templating engine and many other changes we’re hoping you’ll love. We’ve spent a lot of time validating countless backward compatibility scenarios, but a few of the security and templating changes may require adjustments to playbooks.
We’ve reached a point where we’re looking for community feedback and testing against pre-releases of ansible-core 2.19.
How You Can Help
Right now, we’re hoping to get feedback around how well existing playbooks and content work with these new features. We’re still working on some plugin API changes and compatibility corner cases, as well as some new ways to more formally define the boundaries of those APIs.
The feature PR has merged and is available on ansible-core >= 2.19.0b1, with continued stabilization leading up to the 2.19 release of ansible-core.
Getting Help
Draft documentation for the new features can be found in the 2.19 porting guide, including detailed descriptions of the changes and example situations where content changes may be required.
Reporting Issues
Issues specific to these changes should be filed with the Pre-release Bug Report form.
Getting Started
There are two ways to test data tagging currently.
Installing Using Pip
Install a current ansible-core pre-release from PyPI:
$ pip install --upgrade --pre 'ansible-core~=2.19.0b1'
...
$ ansible --version
ansible [core 2.19.0b1]
...
If the installation was successful, the version output should reflect a pre-release build of 2.19.
Building Execution Environments
AAP/AWX Execution Environments can also be created with 2.19 pre-releases via ansible-builder 3.0+ using this method; use ansible-core~=2.19.0b1
for the ansible_core → package_pip entry in the definition file and ensure that the Python interpreter is at least Python 3.1. For example:
version: 3
images:
base_image:
name: registry.fedoraproject.org/fedora:41
dependencies:
ansible_core:
package_pip: ansible-core~=2.19.0b1
ansible_runner:
package_pip: ansible-runner
python_interpreter:
package_system: python3