Chapter 6. Deploying Event-Driven Ansible controller with Ansible Automation Platform Operator on OpenShift Container Platform
Event-Driven Ansible controller is the interface for event-driven automation and introduces automated resolution of IT requests. This component helps you connect to sources of events and acts on those events using rulebooks. When you deploy Event-Driven Ansible controller, you can automate decision making, use numerous event sources, implement event-driven automation within and across multiple IT use cases, and achieve more efficient service delivery.
Use the following instructions to install Event-Driven Ansible with your Ansible Automation Platform Operator on OpenShift Container Platform.
Prerequisites
- You have installed Ansible Automation Platform Operator on OpenShift Container Platform.
- You have installed and configured automation controller.
Procedure
- Select Operators → Installed Operators.
- Locate and select your installation of Ansible Automation Platform.
Under Provided APIs, locate the Event-Driven Ansible modal and click Create instance.
This takes you to the Form View to customize your installation.
Specify your controller URL.
If you deployed automation controller in Openshift as well, you can find the URL on the Routes page.
NoteThis is the only required customization, but you can customize other options using the UI form or directly in the YAML configuration tab, if desired.
Click Create. This deploys Event-Driven Ansible controller in the namespace you specified.
After a couple minutes when the installation is marked as Successful, you can find the URL for the Event-Driven Ansible UI on the Routes page in the Openshift UI.
From the navigation panel, select Networking → Routes to find the new Route URL that has been created for you.
Routes are listed according to the name of your custom resource.
- Click the new URL to navigate to Event-Driven Ansible in the browser.
From the navigation panel, select Workloads → Secrets and locate the Admin Password k8s secret that was created for you, unless you specified a custom one.
Secrets are listed according to the name of your custom resource and appended with
-admin-password.NoteYou can use the password value in the secret to log in to the Event-Driven Ansible controller UI. The default user is
admin.