Interview Prep/Ansible/Architecture Decisions and Tool Comparisons

What is the difference between `ansible-core` and the `ansible` package, and how do you pick versions?

BeginnerProductionArchitecture Decisions and Tool Comparisons
Answer
  • ansible-core: the engine (CLI tools, ansible.builtin modules, plugins). Versions like 2.18, 2.19.
  • ansible: a community bundle of ansible-core plus a large set of collections. Versions like 11 (core 2.18) and 12 (core 2.19).

In production we install ansible-core pinned to an exact version and list only the collections we need in requirements.yml, also pinned. That gives smaller EEs, faster builds and explicit upgrades.

pip install "ansible-core==2.18.6"
ansible-galaxy collection install -r collections/requirements.yml
ansible --version

The full ansible package is fine for laptops and learning, where convenience matters more than control.

All Ansible questions Roadmap: Ansible

More on Architecture Decisions and Tool Comparisons