Configure your Ansible Automation Platform deployment
Configuring your Ansible Automation Platform deployment after installation customizes the platform to match your organizational requirements. Apply configuration settings to secure connections and manage storage resources.
- Secure authentication flows: Enable HTTPS redirect for single sign-on to ensure secure authentication through platform gateway.
- Protect against security threads: Configure CSRF protection settings to prevent cross-site request forgery attacks.
- Manage storage resources: Find and delete persistent volume claims to reclaim storage space and manage platform resources efficiently.
Enable HTTPS redirect for single sign-on Copy linkLink copied!
HTTPS redirect for SAML, allows you to log in once and access all of the platform gateway without needing to reauthenticate.
Before you begin Copy linkLink copied!
- You have successfully configured SAML in the gateway from the Ansible Automation Platform Operator. Refer to Configuring SAML authentication for help with this.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Results Copy linkLink copied!
After you have added the REDIRECT_IS_HTTPS setting, wait for the pod to redeploy automatically. You can verify this setting makes it into the pod by running:
oc exec -it <gateway-pod-name> -- grep REDIRECT /etc/ansible-automation-platform/gateway/settings.py
Configure your CSRF settings Copy linkLink copied!
The Red Hat Ansible Automation Platform Operator creates Openshift Routes and configures your Cross-site request forgery (CSRF) settings automatically. .
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Red Hat OpenShift Container Platform creates 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 Red Hat Ansible Automation Platform Operator installation from platform gateway are running:
| Operator manager controllers pods | Automation controller pods | Automation hub pods | Event-Driven Ansible pods | Platform gateway pods |
|---|---|---|---|---|
| The operator manager controllers for each of the four 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:
|
After deploying platform gateway, 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.
Find and delete PVCs Copy linkLink copied!
A persistent volume claim (PVC) is a storage volume used to store data that automation hub and automation controller applications use.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Review platform gateway FAQs Copy linkLink copied!
Manage your Ansible Automation Platform deployment and troubleshoot common issues with these frequently asked questions. Learn about resource management, logging, and error recovery for your components.
- If I delete my Ansible Automation Platform deployment will I still have access to automation controller?
- No, automation controller, automation hub, and Event-Driven Ansible are nested within the deployment and are also deleted.
- How must I manage parameters when adding or removing them in the Ansible Automation Platform custom resource (CR) hierarchy?
-
When adding parameters, you can add it to the Ansible Automation Platform custom resource (CR) only and those parameters will work their way down to the nested CRs.
When removing parameters, you have to remove them both from the Ansible Automation Platform CR and the nested CR, for example, the Automation Controller CR.
- Something went wrong with my deployment but I’m not sure what, how can I find out?
- You can follow along in the command line while the operator is reconciling, this can be helpful for debugging. Alternatively you can click into the deployment instance to see the status conditions being updated as the deployment goes on.
- Is it still possible to view individual component logs?
- When troubleshooting you should examine the Ansible Automation Platform instance for the main logs and then each individual component (EDA, AutomationHub, AutomationController) for more specific information.
- Where can I view the condition of an instance?
-
To display status conditions click into the instance, and look under the Details or Events tab. Alternatively, to display the status conditions you can run the get command:
oc get automationcontroller <instance-name> -o jsonpath=Pipe "| jq" - Can I track my migration in real time?
-
To help track the status of the migration or to understand why migration might have failed you can look at the migration logs as they are running. Use the logs command:
oc logs fresh-install-controller-migration-4.6.0-jwfm6 -f - I have configured my SAML but authentication fails with this error: "Unable to complete social auth login" What can I do?
-
You must update your Ansible Automation Platform instance to include the
REDIRECT_IS_HTTPSextra setting. See Enabling single sign-on (SSO) for platform gateway on OpenShift Container Platform for help with this.