Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What's the difference between ansible core and ansible base?


Asked by Lachlan Barber on Nov 29, 2021 FAQ



Both ansible-core and ansible-base come packaged with a cli tool called ansible-test, which can be used by collection developers to test their Collection and its content. The ansible-test knows how to perform a wide variety of testing-related tasks, from linting module documentation and code to running unit and integration tests.
Thereof,
Ansible-base is the package that contains all of the binaries and supporting files to be able to execute Ansible. The ansible package now contains the individual collections that made up all of the modules and plugins that were supported in 2.9.
Accordingly, You can build functionality on top of ansible-core by installing collections from Galaxy, Automation Hub, or any other source. You can choose any of the following ways to install ansible-core: Install ansible-core (version 2.11 and greater) or ansible-base (version 2.10) with pip.
Likewise,
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:
Moreover,
The Ansible package depends on ansible-base (soon ansible-core). So when you do pip install ansible, pip installs ansible-base automatically. Ansible 3.0.0 contains more Collections thanks to the wider Ansible community reviewing Collections against the community checklist. This list of what's included can be found at ansible-build-data.