Installation of Ansible Automation Platform with private automation hub is failing at task: Place AAP CA certificate

Solution Verified - Updated -

Issue

  • Installation of AAP 2.4 failed with below error for private automation hub:

    TASK [ansible.automation_platform_installer.certificate_authority : Place AAP CA certificate] ***
    fatal: [automationhub.example.com]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'aap_ca_cacert'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'aap_ca_cacert'\n\nThe error appears to be in '/home/ansible/ansible-automation-platform-setup-bundle-2.4-7-x86_64/collections/ansible_collections/ansible/automation_platform_installer/roles/certificate_authority/tasks/add_cacert.yml': line 17, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Place AAP CA certificate\n  ^ here\n"}
    

Environment

  • Red Hat Ansible Automation Platform 2
    • Priavte Automation Hub

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content