Plan your installation of Ansible Automation Platform on Red Hat OpenShift Container Platform
Red Hat Ansible Automation Platform is supported on both Red Hat Enterprise Linux and Red Hat OpenShift.
OpenShift operators help install and automate day-2 operations of complex, distributed software on Red Hat OpenShift Container Platform. The Ansible Automation Platform Operator enables you to deploy and manage Ansible Automation Platform components on Red Hat OpenShift Container Platform.
You can use this section to help plan your Red Hat Ansible Automation Platform installation on your Red Hat OpenShift Container Platform environment. Before installing, review the supported installation scenarios to determine which meets your requirements.
About Ansible Automation Platform Operator Copy linkLink copied!
The Ansible Automation Platform Operator provides cloud-native, push-button deployment of new Ansible Automation Platform instances in your OpenShift environment.
The Ansible Automation Platform Operator includes resource types to deploy and manage instances of automation controller and private automation hub.
It also includes automation controller job resources for defining and launching jobs inside your automation controller deployments.
Deploying Ansible Automation Platform instances with a Kubernetes native operator offers several advantages over launching instances from a playbook deployed on Red Hat OpenShift Container Platform, including upgrades and full lifecycle support for your Red Hat Ansible Automation Platform deployments.
You can install the Ansible Automation Platform Operator from the Red Hat Operators catalog in OperatorHub.
OpenShift Container Platform version compatibility Copy linkLink copied!
The Ansible Automation Platform Operator to install Ansible Automation Platform 2.6 is available on OpenShift Container Platform 4.12 through to 4.17 and later versions.
Supported installation scenarios for Red Hat OpenShift Container Platform Copy linkLink copied!
You can use the OperatorHub on the Red Hat OpenShift Container Platform web console to install Ansible Automation Platform Operator.
Alternatively, you can install Ansible Automation Platform Operator from the OpenShift Container Platform command-line interface (CLI), oc.
After you have installed Ansible Automation Platform Operator you must create an Ansible Automation Platform custom resource (CR). This enables you to manage Ansible Automation Platform components from a single unified interface known as the platform gateway. In version 2.6, you must create an Ansible Automation Platform CR, even if you have an existing automation controller, automation hub, or Event-Driven Ansible, components.
If existing components have already been deployed, you must specify these components on the Ansible Automation Platform CR. You must create the custom resource in the same namespace as the existing components.
| Supported scenarios | Supported scenarios with existing components |
|---|---|
|
|
Ansible Automation Platform Operator CSRF management Copy linkLink copied!
In Ansible Automation Platform version 2.6 the Ansible Automation Platform Operator on OpenShift Container Platform creates OpenShift Routes and configures your Cross-site request forgery (CSRF) settings automatically.
When using external ingress, you must configure your CSRF on the ingress.
In previous versions CSRF was configurable through the automation controller user interface, in version 2.6 automation controller settings are still present but have no impact on CSRF settings for the platform gateway.
The following table helps to clarify which settings are applicable for which component.
| UI setting | Applicable for |
|---|---|
| Subscription |
automation controller |
| platform gateway |
platform gateway |
| User Preferences |
User interface |
| System |
Automation controller |
| Job |
Automation controller |
| Logging |
Automation controller |
| Troubleshooting |
Automation controller |
Additional resources Copy linkLink copied!
To learn more about OpenShift Container Platform OperatorHub you can review OpenShift Container Platform documentation.