Install the Red Hat Ansible Automation Platform operator
Use this procedure to install the Ansible Automation Platform operator on the Red Hat OpenShift Container Platform.
Before you begin Copy linkLink copied!
- You have installed and configured automation controller.
Procedure Copy linkLink copied!
- Log in to the Red Hat OpenShift Container Platform as an administrator.
- Create a namespace:
- Go to .
- Click Create Namespace.
- Enter a unique name for the namespace.
- Click Create.
- Install the operator:
- Go to .
- Select the namespace where you want to install the Red Hat Ansible Automation Platform operator.
- Search for the Ansible Automation Platform operator.
- From the search results, select the Ansible Automation Platform (provided by Red Hat) tile.
- Select an Update Channel. You can select either stable-2.x or stable-2.x-cluster-scoped as the channel.
- Select the destination namespace if you selected “stable-2.x” as the update channel.
- Select Install. It takes a few minutes for the operator to be installed.
- Click View Operator to see the details of your newly installed Red Hat Ansible Automation Platform operator.
Create a model configuration secret Copy linkLink copied!
You must create a configuration secret to connect to an IBM watsonx Code Assistant model, which can be either an on-premise deployment or a cloud deployment.
Before you begin Copy linkLink copied!
- You have installed the Ansible Automation Platform operator 2.5.0-0.1753402603 or later on the Red Hat OpenShift Container Platform.
- You have created an OAuth application in the automation controller.
- You have obtained an API key and a model ID from IBM watsonx Code Assistant.
For information about obtaining an API key and model ID from IBM watsonx Code Assistant, see the IBM watsonx Code Assistant documentation. For information about installing IBM watsonx Code Assistant for Red Hat Ansible Lightspeed on Cloud Pak for Data, see the watsonx Code Assistant for Red Hat Ansible Lightspeed on Cloud Pak for Data documentation.
Procedure Copy linkLink copied!
Update the YAML file of the Ansible Automation Platform operator Copy linkLink copied!
After you create the model configuration secret, you must update the YAML file of the Ansible Automation Platform operator to use the secret.