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
- Open Resources → Templates.
- Select Add → Job Template.
- Enter a name.
- Select the inventory, project, and playbook.
- Select credentials when required.
- Save.
Result
The job template is ready to launch. Next, launch a job from the template.