Hi,
I’m trying to install Ansible Automation Platform (AAP) using the setup bundle ansible-automation-platform-setup-bundle-2.5-2-x86_64
, but I’m running into an issue.
When I run ./setup.sh -i inventory
, I get the following error:
TASK [ansible.automation_platform_installer.check_config_static : Ensure Gateway host exists] ***
fatal: [aap-01.test.com -> localhost]: FAILED! => {"changed": false, "msg": "An Automation Gateway host must exist in inventory."}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
aap-01.test.com : ok=4 changed=0 unreachable=0 failed=1 skipped=25 rescued=0 ignored=0
localhost : ok=0 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
[error] Oops! An error occurred while running setup.
[warn] Setup log saved to ./setup.log.
Here’s my inventory file:
[automationcontroller]
aap-01.test.com
[database]
[automationcontroller:vars]
peers=execution_nodes
[automationedagateway]
aap-01.test.com
[automationcontroller_gateway]
aap-01.test.com
[execution_nodes]
aap-01.test.com
[automationhub]
aap-01.test.com
[automationedacontroller]
aap-01.test.com
[all:vars]
admin_password='Password1'
pg_host=aap-01.test.com
pg_port=5432
pg_database='awx'
pg_username='awx'
pg_password='Password1'
# AAP EDA Controller
automationedacontroller_admin_password=Password1
automationedacontroller_pg_host=aap-01.test.com
automationedacontroller_pg_database=awx
automationedacontroller_pg_username=awx
automationedacontroller_pg_password=Password1
# AAP Gateway
automationgateway_admin_password=Password1
automationgateway_pg_host=aap-01.test.com
automationgateway_pg_database=awx
automationgateway_pg_username=awx
automationgateway_pg_password=Password1
# AAP Automation Hub
automationhub_admin_password=Password1
automationhub_pg_host=aap-01.test.com
automationhub_pg_database=awx
automationhub_pg_username=awx
I’m not sure why I’m getting the “Automation Gateway host must exist in inventory” error, as I’ve included it in the [automationedagateway]
group. Any help would be appreciated!