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
and
c2platform/ansible-gis
.
These projects are structured to be used and consumed by
AAP / AWX.
Within
c2platform/ansible
, you will find:
hosts-dev.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: utilized by AAP / AWX to install Ansible Collections from Galaxy.roles/requirements.yml
file: similar to collections/requirements.yml, this file is used by AAP / AWX, specifically for installing Ansible Roles from Galaxy.
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
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 November 13, 2024: translate false C2-587 (af41e45)