Ansible Pilot

Ansible terminology - ansible vs ansible-core packages

What is ansible-core? What is the ansible community package? What happened to the Ansible project after version 2.9? An overview of the ansible community and ansible-core packages and use-cases nowadays.

What is ansible-core? What is the ansible community package?

What happened to the Ansible project after version 2.9? Today we’re going to talk about ansible community and ansible-core packages released since 2021. I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

ansible vs ansible-core

ansible community

ansible-core (was ansible-base 2.10)

What happened to ansible after version 2.9? Starting with version 2.10, Ansible distributes two deliverables: a community package called ansible and a minimalist language and runtime called ansible-core (called ansible-base in version 2.10). Choose the Ansible style and version that matches your particular needs. The ansible package includes the Ansible language and runtime plus a range of community curated Collections. It recreates and expands on the functionality that was included in Ansible 2.9. You can choose any of the following ways to install the Ansible community package:

ansible-core

The ansible-core package is primarily for developers and users who want to install only the collections they need.

What is the ansible-core package?

Ansible Core is the command-line tool that is primarily for developers and users who want to install only the collections they need. It contains a minimal amount of modules and plugins and allows other Collections to be installed. Similar to Ansible 2.9 though without any content that has since moved into a Collection. Ansible core or ansible-core is the main building block and architecture for Ansible and includes:

ansible community

The Ansible community package offers the functionality of Ansible 2.9, with 85+ collections containing thousands of modules and plugins.

What is the ansible community package?

Each major release of the Ansible community package accepts the latest released version of each included Collection and the latest released version of ansible-core. Major releases of the Ansible community package can contain breaking changes in the modules and other plugins within the included Collections and/or in core features. The Ansible package depends on ansible-base (soon ansible-core). So when you do pip install ansible, pip installs ansible-core automatically. Ansible 3.0.0 and following contains more Collections thanks to the wider Ansible community reviewing Collections against the community checklist. The Ansible community team typically releases two major versions of the community package per year, on a flexible release cycle that trails the release of ansible-core.

Recap

Now you know more about the ansible package releases of ansible-core and ansible community packages. You know how to use it based on your use case.

Subscribe to the YouTube channel, Medium, Website and Twitter to not miss the next episode of the Ansible Pilot.

Academy

Learn the Ansible automation technology with some real-life examples in my

Want to keep this project going? Please donate

Trustpilot
Follow me

Subscribe not to miss any new releases

January 6, 2022

FREE Top 10 Best Practices

Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress