Connect and verify Ansible automation portal

After deploying the Ansible automation portal appliance, update the OAuth redirect URI, verify service health, and sign in to the portal.

About this task

Complete these post-installation steps after deploying the Ansible automation portal appliance on any platform.

Procedure

Update the OAuth redirect URI
  1. Log in to Ansible Automation Platform as an administrator.
  2. Navigate to Access Management > OAuth Applications > automation-portal.
  3. Update Redirect URIs to https://<portal-address>/api/auth/rhaap/handler/frame.
    • For RHEL with KVM: use the VM IP address.
    • For Red Hat OpenShift Virtualization: use the route hostname.
    • For VMware vSphere: use the VM IP address or hostname.
  4. Click Save.
Verify service health
  1. SSH into the Ansible automation portal RHEL appliance and check the service status.
    $ sudo systemctl status portal postgres devtools

    Example output for a healthy Ansible automation portal RHEL appliance:

    portal.service - Automation portal
         Active: active (running) since ...
    postgres.service - PostgreSQL database
         Active: active (running) since ...
    devtools.service - Ansible development tools
         Active: active (running) since ...

    All three services should show active (running).

    To view detailed logs for a specific service:

    $ sudo journalctl -u portal -n 100 --no-pager
Sign in to Ansible automation portal
  1. Open https://<portal-address> in a browser.
  2. Click Sign in with RHAAP.
  3. Authenticate with your Ansible Automation Platform credentials.

Results

A successful login confirms that the OAuth integration with Ansible Automation Platform is working. The Ansible automation portal catalog displays synchronized job templates from Ansible Automation Platform. If no templates appear, verify that the API token has access to job templates in Ansible Automation Platform.