BacklogZero®

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.

Ansible in a Minute — create an inventory in AAP 2.7

Subscribe for updates

Get an email whenever we publish new guides and blog posts. Unsubscribe anytime.

By subscribing you agree we may email you about Ansible in a Minute and related Level Up Labs updates. We store your address in the same lead sheet as our contact form.

Request

Create a new inventory named My inventory in the Default organization, then add a host.

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 Execution with permission to create inventories

Procedure

  1. Open Automation Execution.
  2. Open Infrastructure → Inventories.
  3. Select Create inventory → Create inventory.
  4. Enter Name: My inventory.
  5. Set Organization: Default.
  6. Select Create inventory.
  7. Add a new host or an existing host to the inventory.

Result

You have an inventory with at least one host. Next, use it in a job template.

Reference

Related guides

← Back to Ansible in a Minute

Create an inventory in AAP 2.7 · Level Up Labs