Ansible Galaxy
The public online hub for sharing Ansible roles and collections, and the ansible-galaxy command that installs from it.
In more detail
Search it before writing a common integration, then review what you find as source code: its dependencies, supported platforms, licence, release history and maintenance. Galaxy makes content available; it does not make it safe or current. Install approved versions from a pinned requirements.yml.
Example
ansible-galaxy install -r requirements.ymlRelated terms
- Ansible collection — A distribution package of Ansible content, such as modules, plugins, roles and documentation, published under a namespace.
- Ansible role — A reusable package of tasks, handlers, templates, files and variables for one unit of automation, laid out in a standard directory structure.
- requirements.yml — A YAML file listing the collections and roles a project depends on, with versions, for ansible-galaxy to install.
- software supply chain — Everything that goes into your software before it runs: base images, packages, build tools, CI systems and registries.
Taught in
- Using Collections — Ansible Configuration Management at Scale
- Ansible Galaxy — Ansible Configuration Management at Scale
- Exam Strategy: The First Fifteen Minutes And ansible-doc — RHCE in Ansible (EX294): Automate Red Hat Systems
- Finding Modules In Collections: ansible-doc And navigator — RHCE in Ansible (EX294): Automate Red Hat Systems
- Roles: The Directory Ansible Expects, Defaults And Handlers — RHCE in Ansible (EX294): Automate Red Hat Systems
- requirements.yml: Installing Roles And Collections — RHCE in Ansible (EX294): Automate Red Hat Systems
- Mock Exam, Part 2: Real Machines And The Patterns That Fail — RHCE in Ansible (EX294): Automate Red Hat Systems