Welcome to a new episode of the Ansible Pilot from Luca Berton. The big news of the last week of April '23 is the release of the beta version of Ansible Core 2.15.0 beta 3. This time there wasn't any Ansible Community release. Let me quickly remind you that the Ansible Core contains the Ansible framework and the ansible.builtin collection. Nothing else. At the same time, the Ansible Community includes a lot (76+) of other collections. For example, interactive with cloud providers (Amazon, Google, Azure) and also the community-generated collection and Red Hat vendor partners.
Links
- New releases: ansible-core 2.15.0https://groups.google.com/g/ansible-devel/c/gmesMFht1Wo
- ansible-core 2.15 "Ten Years Gone" Release Notes https://github.com/ansible/ansible/blob/v2.15.0b2/changelogs/CHANGELOG-v2.15.rst
- ansible-core 2.15.0b3 https://pypi.org/project/ansible-core/2.15.0b3/
- Ansible 2.15 roadmap https://docs.ansible.com/ansible/devel/roadmap/ROADMAP_2_15.html
Ansible Core vs Ansible Community
- What's the difference?
The size and amount of resources the Ansible Core is the smallest package. At the same time, the Ansible Community package is more extensive and has many more resources in the footprint. Why did the engineering team release two packages? Well, because sometimes you have a different use case. You want a smaller package for a specific workload. And you would like the Ansible community for her. When developing or needing a complete overview of the answerable project, you can also increase velocity because each piece of the Ansible Core and the collections can be released asynchronously. So, at a different time than Ansible.
The Ansible Core releases 2.15.0 beta 3 - released 17th April 2023
The Ansible Core release 2.15.0 beta three was released on April 17th, 2023. Thank you, Matt Martz, for announcing the release of Ansible Core 2.15.0 beta 3 (New releases: New release beta: ansible-core 2.15.0b3 https://groups.google.com/g/ansible-devel/c/gmesMFht1Wo) in the Ansible mailing list. This is a new major release of the Ansible codename "Ten Years Gone." Reading the Ansible Release Notes (ansible-core 2.15 "Ten Years Gone" Release Notes https://github.com/ansible/ansible/blob/v2.15.0b3/changelogs/CHANGELOG-v2.15.rst).
The main news is the introduction of the Ansible dnf5 module to natively interact with the DNF5 package manager introduced since Fedora 39. This module will be complementary to the yum and dnf current module for Red Hat-like systems. Many changes were performed, especially for performance (paramiko library), bugfix some behavior of the Ansible copy module, to enhance the ansible-test command line tool, and for a better developer experience.
PIP installation
We can test the code installation via the PIP package manager, the Python package installer. For example, let's create a "venv" virtual environment to test our Ansible beta version ("2.15.0b3").
code
```bash
python3 -m venv venv
source venv/bin/a