Ansible in a Minute · AAP 2.7 ·
Create a job template in AAP 2.7
Short answer
Create a job template in Red Hat Ansible Automation Platform (AAP) 2.7 to run a playbook from a project against an inventory.
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 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 Automation Execution.
- Open Templates.
- Select Create Template.
- Select the inventory.
- Select the playbook.
- Select credentials (Machine) when required.
- Save the job template.
- Optionally, launch the job template.
Result
The job template is ready to launch.