Map Ansible jobs to resolution steps
Create mappings between automation opportunity resolution steps and Ansible job templates to enable automated incident remediation.
Before you begin
Before mapping Ansible jobs to resolution steps:
- The Ansible discovery agent must have analyzed the automation opportunity
- Job templates related to the resolution steps must exist and be available in your connected Ansible Automation Platform instance.
- The automation opportunity must have generated resolution steps
Role required: LEAP admin
About this task
Step-to-job mapping creates the relationship between specific resolution steps and Ansible job templates. This mapping enables the Ansible execution agent to automatically launch the appropriate automations during incident remediation. At remediation time, the Ansible execution agent reads this mapping to determine which job template to launch for each step, in sequence.
Procedure
Result
The step-to-job mapping is created and activated. The automation opportunity detail page now displays each resolution step with its mapped job templates. Manual steps are indicated with (manual). The mapping is available for incident remediation in the Service Operations Workspace.
Step-to-job mapping
After saving a mapping, the automation opportunity displays resolution steps like this:
Step 1: Restart the nginx service
▶ nginx-restart-playbook
▶ service-restart-generic
Step 2: Flush DNS cache
(manual)
Step 3: Verify service health
▶ health-check-playbook
What to do next
After creating the mapping:
Editing replaces the existing mapping. Don't edit a mapping while it is in use during an active incident remediation.