This repo helps in showcasing event driven automation using Event Driven Automation with Ansible.
Currently it is possible to try it out both in a containerized version and using Red Hat Ansible Automation Platform
To try the containerized version, go in the EDA Containerized Demo folder
This section handles configuration and preparation to showcase Event Driven Automation leveraging the EDA Controller component in Red Hat Ansible Automation Platform 2.4.
The following use cases are available for testing and/or contributions:
- AlertManager integration - with Service Now
- Dynatrace integration - with Service Now
- Insights integration - with Service Now
- Webhook integration
- Kafka integration
- MQTT integration
First you need to install Ansible Automation Platform.
In the eda-demo-setup directory you will find some useful playbooks to create all necessary resources in the platform to showcase the use cases.
Some of the use cases (Webhook, Insights, Alertmanager) will need the following ports to be opened on the EDA Controller component:
5000/tcp - Webhook
5001/tcp - AlertManager
5002/tcp - Insights
The Red Hat Insights use case will require that the EDA Machine is reachable from outside your network.
You can use ngrok to set-up a temporary public address to use for the use case.
The AlertManager and Kafka use cases require a working configuration for them, you can spin up a quick environment using the podman-compose file in the utils directory.
This will spin a Kafka, Mosquitto and AlertManager instance running on the host and listening to all interfaces. Tune up the settings based on your needs.
Each component has a dedicated podman-compose file in the podman-compose directory
!!! IMPORTANT - CAREFUL !!!
Carefully read the instructions in the use cases README to properly configure the needed components for the use cases.
One of the use cases include using a Service Now instance, you can easily sign-up and get one.
To playbooks in the configuration folder already have the needed bits to configure credentials and variables to match your instance details.
The use cases contain a Dynatrace integration. To configure the integrations, ensure you use your API URL and API Token configured with the following permissions in the dynatrace rulebook:
- Read/Write problems
- Read/Write configuration
- Access problem and event feed, metrics, and topology