AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,100 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example" published by Apress, and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

Ansible Core 2.14.2 & Community 7.2.0: Latest Updates

By Luca Berton · Published 2024-01-01 · Category: installation

Discover the latest updates for Ansible Core 2.14.2 and Community 7.2.0. Learn about new features, installation tips, and how these releases impact your automation.

Welcome to a new episode of the Ansible Pilot from Luca Berton. The big news of the last week of January 2023 is the release of two important versions of Ansible: Ansible Core 2.14.2 and Ansible Community 7.2.0. These updates are primarily bug-fix releases aimed at improving stability and performance.

Key Differences

Ansible Core vs. Ansible CommunityAnsible Core: This package contains the Ansible framework and the ansible.builtin collection. It’s the smallest and most basic package, focused solely on core functionalities. • Ansible Community: This package includes everything in Ansible Core plus a variety of additional collections, such as those for interacting with cloud providers (e.g., AWS, Google Cloud, Azure) and other community-generated and Red Hat vendor collections.

The decision to release two packages allows for more flexibility. You can choose a minimal package for specific workloads or use the broader community package for a more comprehensive solution. This separation also allows for asynchronous releases of Ansible Core and its collections.

New Releases

Ansible Core 2.14.2

Released on January 30, 2023, Ansible Core 2.14.2 is a maintenance update for the Ansible codename "C'mon, Everybody." This version primarily focuses on bug fixes. Ansible Core 2.14 was first introduced in November 2022, setting the foundation for future updates. A notable change is the requirement for Python 3.9, which breaks compatibility with Red Hat Enterprise Linux 7. There’s also been significant work on the ansible-test command line tool, which is part of Red Hat's strategy to enhance the developer experience. This tool is essential for testing Ansible Collections.

Installation Command:

Use pip3 instead if necessary, depending on your system configuration.

Ansible Community 7.2.0

Released the day after Ansible Core 2.14.2, Ansible Community 7.2.0 includes Ansible Core and additional selected collections. Major changes include: • Python 3.9 Requirement: Like Ansible Core 2.14.2, Ansible 7.2.0 requires Python 3.9. • Lazy Evaluation of Variables: Variables are now evaluated only when needed, improving efficiency. For example, {{ defined_variable or undefined_variable }} will not evaluate undefined_variable if defined_variable is true. • New Collections: • ibm.spectrum_virtualize (v1.9.0) • inspur.ispim (v1.0.1) • purestorage.fusion (v1.1.1) • vultr.cloud (v1.1.0)

Installation Command:

Again, use pip3 if required by your system.

Conclusion

The releases of Ansible Core 2.14.2 and Ansible Community 7.2.0 on January 30 and 31, 2023, respectively, are maintenance updates focusing on bug fixes and improvements. The major change is the adoption of Python 3.9, which enhances performance but breaks compatibility with older systems like RHEL 7. The next anticipated releases are Ansible Core 2.15.0 and Ansible Community 8.0.0, expected in April 2023.

Thank you for tuning in. Have a great automation day, and I look forward to hearing your stories about the future of automation. Let's continue to automate with Ansible!

Related ArticlesAnsible AWS Guide

Category: installation

Watch the video: Ansible Core 2.14.2 & Community 7.2.0: Latest Updates — Video Tutorial

Browse all Ansible tutorials · AnsiblePilot Home