Understanding auto-generated templates
Self-service automation portal automatically generates templates from Ansible Automation Platform Job Templates. Each Ansible Automation Platform Job Template with the appropriate configuration becomes a template that users can execute from self-service automation portal.
Templates in self-service automation portal use Backstage Software Templates as the underlying technology. For details on supported usage, see the self-service automation portal support policy.
Auto-generated templates include:
- Form fields generated from Ansible Automation Platform Job Template Surveys and "Prompt on Launch" options.
- Metadata (name, description, labels) mapped from Ansible Automation Platform Job Template properties.
- A single step that launches the Ansible Automation Platform Job Template using the
rhaap:launch-job-templateaction. - Output that displays the job execution results to the user.
Users only see and execute templates for Ansible Automation Platform Job Templates they have Job Template Execute permission in Ansible Automation Platform.
- What users see
Auto-generated templates appear in the template catalog alongside custom templates. Users browse or search the catalog and select a template to run. - Auto-generated template example
The following example shows a template that self-service automation portal auto-generates from an existing Ansible Automation Platform Job Template. - How templates are generated
When synchronization runs, self-service automation portal reads Ansible Automation Platform Job Template configurations and generates corresponding templates.