Configure Ansible automation integration
Connect LEAP to Ansible Automation Platform so the Ansible Discovery and Execution Agents can automatically identify job templates and launch them during incident remediation.
Before you begin
Confirm that you have the following components installed and configured:
-
LEAP application activated
-
Ansible Automation Platform with MCP Server Console configured
The MCP Server is the middle ware component that helps communication between LEAP and Ansible Automation Platform.
-
Network connectivity between ServiceNow and Ansible Automation Platform
-
API token for the MCP Server Console
Role required: sn_itom_leap.leap_admin
About this task
The Ansible Automation integration requires configuration of the MCP Server Console connection and agent to enable communication between LEAP and Ansible Automation Platform.
For more details about the integration, select Help on the Connectors page, and then select Learn more to open the LEAP and Ansible MCP server guide.
Procedure
-
On the LEAP homepage, navigate to Settings, and selectConnectors > ..
Note:
Another way to start this configuration is by selecting Connect in the Ansible connection banner on the LEAP homepage.
[Omitted image "ansible-connector-leap-settings.png"] Alt text: Ansible connector in LEAP settings
-
Select Connect if Ansible Automation is not connected to LEAP.
-
Configure the Ansible MCP Server Console connection by completing these fields:
Field Description MCP Server URL The URL of the Ansible MCP Server Console endpoint. Authentication Method API key authentication method. -
In the Token field, enter the API token used for authentication.
-
Assign the required roles to users who will work with Ansible integration:
- sn_itom_leap.leap_admin = For LEAP administrators who configure step-to-job mappings
- sn_itom_leap.leap_agent = For incident responders who execute Ansible automations
-
Select Save to apply the configuration.
Result
After you configure the Ansible Automation Integration, the Ansible discovery agent analyzes automation opportunities and identifies relevant job templates. When resolution steps are generated for a critical automation opportunity, the Ansible agent is triggered which launches mapped automation for incident remediation.
The configured connection appears in the Connectors table on the LEAP settings page.
---
title: Configure Ansible automation integration
description: Connect LEAP to Ansible Automation Platform so the Ansible Discovery and Execution Agents can automatically identify job templates and launch them during incident remediation.
locale: en-us
canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/aiops-leap-learning-enhanced-automation-playbooks/configure-ansible-automation-integration.html
release: australia
product: AIOps LEAP \(Learning-Enhanced Automation Playbooks\)
classification: aiops-leap-learning-enhanced-automation-playbooks
topic_type: task
last_updated: "2025-01-07"
reading_time_minutes: 1
keywords: [Ansible integration, configuration, MCP server, automation]
breadcrumb: [Configure, Learning Enhanced Automation Platform \(LEAP\), ITOM Visibility, IT Operations Management]
---
# Configure Ansible automation integration
Connect LEAP to Ansible Automation Platform so the Ansible Discovery and Execution Agents can automatically identify job templates and launch them during incident remediation.
## Before you begin
Confirm that you have the following components installed and configured:
- LEAP application activated
- Ansible Automation Platform with MCP Server Console configured
The MCP Server is the middle ware component that helps communication between LEAP and Ansible Automation Platform.
- Network connectivity between ServiceNow and Ansible Automation Platform
- API token for the MCP Server Console
Role required: **sn\_itom\_leap.leap\_admin**
## About this task
The Ansible Automation integration requires configuration of the MCP Server Console connection and agent to enable communication between LEAP and Ansible Automation Platform.
For more details about the integration, select **Help** on the Connectors page, and then select **Learn more** to open the LEAP and Ansible MCP server guide.
## Procedure
1. On the LEAP homepage, navigate to **Settings**, and select**Connectors** > **.**.
**Note:**
Another way to start this configuration is by selecting **Connect** in the Ansible connection banner on the LEAP homepage.
\[Omitted image "ansible-connector-leap-settings.png"\] Alt text: Ansible connector in LEAP settings
2. Select **Connect** if Ansible Automation is not connected to LEAP.
3. Configure the Ansible MCP Server Console connection by completing these fields:
|Field|Description|
|-----|-----------|
|MCP Server URL|The URL of the Ansible MCP Server Console endpoint.|
|Authentication Method|API key authentication method.|
4. In the Token field, enter the API token used for authentication.
5. Assign the required roles to users who will work with Ansible integration:
- sn\_itom\_leap.leap\_admin = For LEAP administrators who configure step-to-job mappings
- sn\_itom\_leap.leap\_agent = For incident responders who execute Ansible automations
6. Select **Save** to apply the configuration.
## Result
After you configure the Ansible Automation Integration, the Ansible discovery agent analyzes automation opportunities and identifies relevant job templates. When resolution steps are generated for a critical automation opportunity, the Ansible agent is triggered which launches mapped automation for incident remediation.
The configured connection appears in the Connectors table on the LEAP settings page.
| title | Configure Ansible automation integration |
| description | Connect LEAP to Ansible Automation Platform so the Ansible Discovery and Execution Agents can automatically identify job templates and launch them during incident remediation. |
| locale | en-us |
| canonical_url | https://www.servicenow.com/docs/r/australia/it-operations-management/aiops-leap-learning-enhanced-automation-playbooks/configure-ansible-automation-integration.html |
| release | australia |
| product | AIOps LEAP \(Learning-Enhanced Automation Playbooks\) |
| classification | aiops-leap-learning-enhanced-automation-playbooks |
| topic_type | task |
| last_updated | 2025-01-07 |
| reading_time_minutes | 1 |
| keywords | Ansible integrationconfigurationMCP serverautomation |
| breadcrumb | ConfigureLearning Enhanced Automation Platform \(LEAP\)ITOM VisibilityIT Operations Management |