Ansible in a Minute · AAP 2.7 ·
Create an inventory in AAP 2.7
Short answer
Create an inventory in Ansible Automation Platform 2.7 so you can group hosts for jobs.
Request
Create a new inventory in the AAP Controller UI.
How it works
An inventory holds hosts and groups. Create the inventory before you add hosts or inventory sources.
When to use it
- Starting a new automation project
- Separating environments such as lab and production
Requirements
- AAP: 2.7
- Access to Automation Controller with permission to create inventories
Procedure
- Open Resources → Inventories.
- Select Add → Inventory.
- Enter a name. Optionally enter an organization and description.
- Save.
- Confirm the inventory appears in the list.
Result
You have an empty inventory. Next, add hosts or an inventory source.