BacklogZero®

Ansible in a Minute · AAP 2.7 ·

Create a job template in AAP 2.7

Short answer

Create a job template in AAP 2.7 to run a playbook from a project against an inventory.

Request

Create a job template that points to a project, playbook, and inventory.

How it works

A job template binds the playbook, inventory, credentials, and options that Controller uses when you launch automation.

When to use it

  • Standardizing a repeatable playbook run
  • Preparing a template before you schedule or survey it

Requirements

  • AAP: 2.7
  • An existing project with at least one playbook
  • An existing inventory
  • A machine credential when the playbook needs host access

Procedure

  1. Open Resources → Templates.
  2. Select Add → Job Template.
  3. Enter a name.
  4. Select the inventory, project, and playbook.
  5. Select credentials when required.
  6. Save.

Result

The job template is ready to launch. Next, launch a job from the template.

Related guides

Back to Ansible in a Minute

Create a job template in AAP 2.7 · Level Up Labs