Ansible vs ansible-core: Package Differences Explained (2026)
By Luca Berton · Published 2024-01-01 · Category: installation
Understand the difference between ansible and ansible-core packages. Compare contents, versions, installation, and choose the right package for your needs.

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.See also: Ansible Core 2.14.2 & Community 7.2.0: Latest Updates
ansible vs ansible-core
ansible community
• Uses new versioning (2.10, then 3.0.0) • Follows semantic versioning rules • Does not use semantic versioning • Maintains only one version at a time • Includes language, runtime, and selected Collections • Developed and maintained in Collection repositoriesansible-core (was ansible-base 2.10)
• Continues "classic Ansible" versioning (2.11, then 2.12) • Does not use semantic versioning • Maintains the latest version plus two older versions • Includes language, runtime, and builtin plugins • Developed and maintained in ansible/ansible repositoryWhat 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:
• Install the latest release with your OS package manager (for Red Hat Enterprise Linux, CentOS, Fedora, Debian, or Ubuntu).
• Install with pip (the Python package manager).
Ansible community package release cycle
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. This cycle can be extended to allow for larger changes to be properly implemented and tested before a new release is made available. See Ansible Roadmap for upcoming release details. Between major versions, the Ansible team releases a new minor version of the Ansible community package every three weeks. Minor releases include new backward-compatible features, modules, and plugins, as well as bug fixes.
Starting with version 2.10, the Ansible community team guarantees maintenance for only one major community package release at a time. For example, when Ansible 5.0.0 gets released, the team will stop making new 4.x releases. Community members may maintain older versions if desired.
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: • CLI tools such as ansible-playbook, ansible-doc. and others for driving and interacting with automation. • The Ansible language uses YAML to create a set of rules for developing Ansible Playbooks and includes functions such as conditionals, blocks, includes loops, and other Ansible imperatives. • An architectural framework that allows extensions through Ansible collections. ansible-core releases a new major release approximately twice a year.
See also: Ansible Core 2.14.3, 2.13.8 & Community 7.3.0: Updates
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.
Links
• Ansible 3.0.0 Q&A • Releases and maintenance • Installing Ansible • Ansible community changelogs • Ansible Core Documentation • pip install ansible-core • pip install ansibleSee also: Ansible Core 2.14.4 & Community 7.4.0: Latest Updates
Conclusion
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.
Quick Comparison
| Feature | ansible-core | ansible |
|---------|---------------|-----------|
| Engine | ✅ Core engine | ✅ Core engine |
| ansible.builtin | ✅ Included | ✅ Included |
| Community collections | ❌ Not included | ✅ ~85 collections |
| Size | ~15 MB | ~200+ MB |
| Version scheme | 2.x (e.g., 2.18) | Major (e.g., 11.x) |
What's in ansible-core?
pip install ansible-core
Includes:
• ansible-playbook, ansible-galaxy, ansible-vault, etc.
• ansible.builtin collection (copy, file, template, apt, yum, service, etc.)
• Plugin system for extending functionality
Does not include:
• community.general, community.docker, amazon.aws, etc.
What's in the ansible package?
pip install ansible
Includes everything in ansible-core plus ~85 curated collections:
• community.general
• community.docker
• amazon.aws
• ansible.posix
• ansible.windows
• community.mysql
• community.postgresql
• And many more
Version Mapping
| ansible | ansible-core | Release | |---------|-------------|---------| | 11.x | 2.18.x | 2025+ | | 10.x | 2.17.x | 2024 | | 9.x | 2.16.x | 2023 | | 8.x | 2.15.x | 2023 | | 7.x | 2.14.x | 2022 |
When to Use Each
Use ansible-core when:
• Building container images (smaller footprint)
• You manage collections separately via requirements.yml
• CI/CD pipelines where you pin exact collection versions
• Execution Environments (EE)
pip install ansible-core
ansible-galaxy collection install -r requirements.yml
Use ansible when:
• Getting started / learning
• You want everything available immediately
• Development/testing environments
• Small teams without strict dependency management
pip install ansible
# Everything ready to go
Managing Collections Separately
# requirements.yml
collections:
- name: community.general
version: ">=9.0.0"
- name: amazon.aws
version: ">=8.0.0"
- name: community.docker
ansible-core + requirements.yml = reproducible builds
Check What's Installed
# Core version
ansible --version
# List installed collections
ansible-galaxy collection list
# Check if a specific collection is available
ansible-doc -l | grep community.general
Migration Path
# From ansible (fat package) to ansible-core
# 1. Export current collections
ansible-galaxy collection list --format json > installed.json
# 2. Create requirements.yml from what you actually use
# 3. Install ansible-core + requirements
pip install ansible-core
ansible-galaxy collection install -r requirements.yml
FAQ
Can I mix both?
Don't install both — ansible already includes ansible-core. Installing both can cause version conflicts.
Which should beginners use?
ansible (the full package) — it includes everything so you won't hit "module not found" errors while learning.
What about Ansible in RHEL/Fedora?
RPM packages may differ from pip. RHEL provides ansible-core via subscription; use ansible-galaxy for additional collections.
Quick Comparison
| Feature | ansible-core | ansible |
|---------|---------------|-----------|
| Engine | ✅ Full engine | ✅ Full engine |
| Built-in modules | ~70 modules | ~70 modules |
| Community collections | ❌ Not included | ✅ ~100+ collections |
| Size | ~15 MB | ~200+ MB |
| Use case | Minimal, custom setups | Batteries-included |
Install ansible-core (Minimal)
pip install ansible-core
# Includes: ansible-playbook, ansible-galaxy, ansible-vault
# Modules: ansible.builtin.* only (~70 modules)
Install ansible (Full)
pip install ansible
# Includes: everything in ansible-core PLUS
# community.general, community.docker, amazon.aws, etc.
Version Mapping
| ansible | ansible-core | Release | |---------|-------------|---------| | 13.x | 2.20.x | 2026 | | 12.x | 2.19.x | 2025 | | 11.x | 2.18.x | 2025 | | 10.x | 2.17.x | 2024 |
When to Use Each
Use ansible-core when:
• You want minimal installation
• You install only specific collections you need
• CI/CD pipelines where you control dependencies
• Container images (smaller footprint)
Use ansible when:
• Getting started / learning
• You want everything available immediately
• You don't want to manage collection dependencies
Add Collections to ansible-core
# Install specific collections
ansible-galaxy collection install community.general
ansible-galaxy collection install amazon.aws
# Or use requirements.yml
ansible-galaxy collection install -r requirements.yml
Check What's Installed
# Check package version
ansible --version
pip show ansible ansible-core
# List installed collections
ansible-galaxy collection list
FAQ
Can I install both?
Installing ansible automatically installs ansible-core as a dependency. You don't install both separately.
What's ansible-base?
Deprecated name — ansible-base was renamed to ansible-core in version 2.11. Always use ansible-core.
Which version numbers do people mean?
When someone says "Ansible 2.20," they mean ansible-core 2.20.x. "Ansible 13" means the ansible community package version 13.x.
Related Articles
• register and when in Ansible • role variables and defaults in Ansible • with_items vs loop in Ansible • Ansible vs Ansible-Core: Key Differences Explained • Five Reasons for Upgrading to Ansible Core 2.14Category: installation
Watch the video: Ansible vs ansible-core: Package Differences Explained (2026) — Video Tutorial