Configure automation controller
You can use these instructions to configure the automation controller operator on Red Hat OpenShift Container Platform, specify custom resources, and deploy Ansible Automation Platform with an external database.
Automation controller configuration can be done through the automation controller extra_settings or directly in the user interface after deployment. However, it is important to note that configurations made in extra_settings take precedence over settings made in the user interface.
When an instance of automation controller is removed, the associated PVCs are not automatically deleted. This can cause issues during migration if the new deployment has the same name as the previous one. Therefore, it is recommended that you manually remove old PVCs before deploying a new automation controller instance in the same namespace.
Prerequisites Copy linkLink copied!
- You have installed the Red Hat Ansible Automation Platform catalog in Operator Hub.
- For automation controller, a default StorageClass must be configured on the cluster for the operator to dynamically create needed PVCs. This is not necessary if an external PostgreSQL database is configured.
- For Hub a StorageClass that supports ReadWriteMany must be available on the cluster to dynamically created the PVC needed for the content, redis and api pods. If it is not the default StorageClass on the cluster, you can specify it when creating your AutomationHub object.
Configure your automation controller image pull policy Copy linkLink copied!
Use this procedure to configure the image pull policy on your automation controller.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Configure your LDAP for automation controller Copy linkLink copied!
You can configure your LDAP SSL configuration for automation controller through any of the following options:
About this task Copy linkLink copied!
- The automation controller user interface.
The platform gateway user interface. See Configure LDAP authentication for additional steps.
- The following procedure steps.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
You can verify the expected certificate by running:
oc get deployments -l 'app.kubernetes.io/component=aap-gateway'
Followed by:
oc exec -it deployment.apps/<gateway-deployment-name-from-above> -- openssl x509 -in /etc/pki/tls/certs/ca-bundle.crt -noout -text
Configure automation controller route options Copy linkLink copied!
The Red Hat Ansible Automation Platform operator installation form allows you to further configure your automation controller operator route options under Advanced configuration.
About this task Copy linkLink copied!
AutomationControllerMeshIngress the same name as your AnsibleAutomationPlatform installation, the operator overrides default routes and services. This conflict causes the platform installation to fail.
Procedure Copy linkLink copied!
Configure ingress options for automation controller Copy linkLink copied!
The Ansible Automation Platform Operator installation form allows you to further configure your automation controller operator ingress under Advanced configuration.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Results Copy linkLink copied!
After you have configured your automation controller ingress setting, OpenShift Container Platform updates the pods. This may take a few minutes.
You can view the progress by navigating to and locating the newly created instance.
Verify that the following operator pods provided by the Ansible Automation Platform Operator installation from automation controller are running:
| Operator manager controllers | Automation controller | Automation hub | Event-Driven Ansible (EDA) |
|---|---|---|---|
| The operator manager controllers for each of the three operators, include the following:
|
After deploying automation controller, you can see the addition of the following pods:
|
After deploying automation hub, you can see the addition of the following pods:
|
After deploying EDA, you can see the addition of the following pods:
|
A missing pod can indicate the need for a pull secret. Pull secrets are required for protected or private image registries. See Using image pull secrets for more information. You can diagnose this issue further by running oc describe pod <pod-name> to see if there is an ImagePullBackOff error on that pod.