> For the complete documentation index, see [llms.txt](https://docs.ilert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ilert.com/integrations/inbound-integrations/awx.md).

# Ansible Automation Platform AWX Integration

Enable multi-channel alerting for the Ansible Automation Platform.

[Ansible Automation Platform](https://www.redhat.com/en/technologies/management/ansible) is a comprehensive toolset for automating IT tasks, such as configuration management, application deployment, and orchestration. It provides a scalable framework for automating workflows across diverse systems and environments, simplifying complex processes and enhancing operational efficiency. Here's a guide on enabling ilert's multi-channel alerting for the Ansible Automation Platform.

## In ilert: Create an Ansible Automation Platform alert source

1. Go to **Alerting** → **Alert sources** and click **Create new alert source**.
2. Search for **Ansible Automation Platform**, click its tile, and click **Next**.
3. Give your alert source a name, optionally assign teams, and click **Next**.
4. Choose who gets notified: select **Use existing escalation policy** and pick a policy, or **Generate new escalation policy** to start with a basic one that notifies you first. Click **Next**.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-8a281bf3931f5a1a531951ce97984d50989dd875%2Falert-source-escalation-step.png?alt=media" alt="The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below."><figcaption><p>Pick an existing escalation policy, or generate a basic one without leaving the wizard.</p></figcaption></figure>
5. Select **Default grouping** and click **Continue setup**. It groups events by the alert key the integration sets; the other [grouping options](/alerting/configure-alerting/alert-sources.md#event-grouping) are easier to judge once events are arriving.
6. The next page shows more settings, such as notification priority and alert templates. Click **Finish setup** for now; you can change them later.
7. On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-155ccc6d215a9d5ea53bf4c1fa3096e545dbaa4f%2Falert-source-awx.png?alt=media" alt="The Settings tab of a Ansible Automation Platform alert source in ilert, showing the integration type, the masked integration key, and the Ansible Automation Platform URL."><figcaption></figcaption></figure>

## In Ansible Automation Platform: Create a Notification Template

1. On the sidebar, click on **Notifications**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FKiy0eaVbTI4VM7DVi9ut%2F1.png?alt=media&amp;token=67af5fe3-d506-4961-a287-af827cda940a" alt="" width="563"><figcaption></figcaption></figure>

2. On the next page, click **Add** to add a new notification template.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FKuLQJHjyJiAh1Ujq9MpU%2F2.png?alt=media&amp;token=ebacfb7a-50c8-4a38-a9e5-15b83948e393" alt="" width="563"><figcaption></figcaption></figure>

3. Enter a **Name** and change the **Type** to 'Webhook.'

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FatE0gwuzGKisxrlpn8if%2F3.png?alt=media&amp;token=afe060b2-1403-449b-a6da-5cfeceff78a9" alt="" width="563"><figcaption></figcaption></figure>

4. Scroll down to the **Type Details** and enter the previously created alert source URL into the **Target URL** field.
5. Change the **HTTP Method** to 'POST'.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FyT6N0E1i42Vw88DSPlfv%2F4.png?alt=media&amp;token=c7d1a2ab-b2f8-45e7-a4ea-5e06dfa4b75c" alt="" width="563"><figcaption></figcaption></figure>

6. Optional: You can send a test notification by clicking the **Test** button.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2FBHSy0g5bKmmRFLpKCHVV%2F5.png?alt=media&amp;token=8df195b5-d019-424d-b0d5-a114d62f8661" alt="" width="563"><figcaption></figcaption></figure>

7. Navigate back to your projects and click on one of the desired projects.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F0eruv0fS1rVJbzZeUvPO%2F6.png?alt=media&amp;token=df7d2f22-5609-4dd4-8776-b242c18d9a08" alt="" width="563"><figcaption></figcaption></figure>

8. On the navigation bar, click on **Notifications** and enable 'Failure' for the just-created notification template.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2F4bw2HlaWW10LVnNMjK5x%2F7.png?alt=media&amp;token=52d561a6-807c-4808-bbf7-5c48a38cc155" alt="" width="563"><figcaption></figcaption></figure>

## FAQ

**Will alerts in ilert be resolved automatically?**

Unfortunately, the Ansible Automation Platform notification template is not compatible with ilert's resolve event.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ilert.com/integrations/inbound-integrations/awx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
