A listener that will ingest Ansible Tower notifications.
Configure a notification in Ansible Tower that will forward to your Moogsoft AIOps instance.
Configuring Ansible Tower
- Create the notification as a type 'Webhook':
Add to the HTTP headers field:
"Authorization": "Basic xxx"
Generate the basic auth string take the username and password provided above and use a base64 encode, 'username:password'.
Save the notification and click the bell icon next to it to generate a test. This will not be a correctly formatted job notification but should indicate if there are access issues.
Connect the notification to any job template. It is advisable to only enable failure notifications.