Ansible Inventory Project
An Ansible Inventory project contains inventory files, plays, host configurations, group variables, and vault files. It is also referred to as a playbook project or configuration project.
Categories:
Examples of such projects include
c2platform/ansible
,
c2platform/phx/ansible
and
c2platform/ansible-gis
.
These projects are structured to be used and consumed by
AAP / AWX.
Within
c2platform/ansible
, you can find:
hosts.ini
: A file containing host configurations.group_vars
directory: Stores group variables.plays
directory: Contains Ansible plays/playbooks.secret_vars
directory: A dedicated location for storing secrets. For further details on managing secrets using Ansible Vault and AAP / AWX, please refer to the documentation.collections/requirements.yml
file: Used by AAP / AWX to install Ansible Collections from Galaxy.roles/requirements.yml
file: Similar tocollections/requirements.yml
, this file is used by AAP / AWX to install Ansible Roles from Galaxy.ansible.cfg
: This file contains configuration settings for Ansible, including defaults for module behavior, inventory paths, and roles. You can also configure a private Galaxy Server here.
For further reference, explore the following guidelines:
- GitOps Pipeline for an Execution Environment (EE) with Ansible Collections
- Variable Prefix
- Group-based environments
- Clone Script
- Managing Dictionary Merging
- Ansible Community Documentation
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified June 24, 2025: inventory project add links PHX-13 (6f3e49f)