# Ansible Automation Platform installation: An Automation Gateway host must exist in inventory

**URL:** <https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870>\
**Category:** Get Help\
**Tags:** aap, awx\
**Created:** [November 13, 2024, 8:51am UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870 "2024-11-13T08:51:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandy\_auto](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dandy_auto/32/5428_2.png) [@dandy\_auto](https://forum.ansible.com/u/dandy_auto)\
**Post date:** [November 13, 2024, 8:51am UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/1 "2024-11-13T08:51:58Z")

</div>

* * *

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:

```auto
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:

```auto
[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!

* * *

---

<div class="post-metadata">

**Author:** ![akira6592](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akira6592/32/222_2.png) [@akira6592](https://forum.ansible.com/u/akira6592)\
**Post date:** [November 17, 2024, 1:38pm UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/2 "2024-11-17T13:38:12Z")

</div>

Hello @dandy_auto. Welcome to Ansible community!

The inventory file must include entry for Automation Gateway.

The [sample](https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/assembly-platform-install-scenario#ref-gateway-controller-ext-db) is as below. The group names must be as specified by documents.

```ini
[automationgateway]
aap-01.test.com

```

Automation Gateway was introduced in AAP 2.5. It offers Unified UI.

> **[Chapter 2. New features and enhancements | Red Hat Product...](https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/release_notes/new-features#unified_ui)**
>
> Chapter 2. New features and enhancements | Red Hat Documentation

---

<div class="post-metadata">

**Author:** ![dandy\_auto](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dandy_auto/32/5428_2.png) [@dandy\_auto](https://forum.ansible.com/u/dandy_auto)\
**Post date:** [November 18, 2024, 8:46am UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/3 "2024-11-18T08:46:21Z")

</div>

Many thanks @akira6592,  
it sorted out, it was really necessary `[automationgateway]`  
instead of `[automationedagateway]`.

But now I’m getting another weird error. Now just wondering if it’s really easy to get APP to run on a single node VM?

 ![Error screenshot 1](https://us1.discourse-cdn.com/ansible/original/2X/a/ab69465f3495a8a0059cf7e92e239c5a811158c9.png)

---

<div class="post-metadata">

**Author:** ![dandy\_auto](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dandy_auto/32/5428_2.png) [@dandy\_auto](https://forum.ansible.com/u/dandy_auto)\
**Post date:** [November 18, 2024, 8:46am UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/4 "2024-11-18T08:46:51Z")

</div>

![Error screenshot 2](https://us1.discourse-cdn.com/ansible/original/2X/3/31519bfafa8a33d171072f49edf1e51e42656894.png)

---

<div class="post-metadata">

**Author:** ![akira6592](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akira6592/32/222_2.png) [@akira6592](https://forum.ansible.com/u/akira6592)\
**Post date:** [November 19, 2024, 11:21am UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/5 "2024-11-19T11:21:57Z")

</div>

@dandy_auto

> [@dandy\_auto](#):
>
> Now just wondering if it’s really easy to get APP to run on a single node VM?

If you want to run single node VM, I recommend the Containerized installtion.

> **[Containerized installation | Red Hat Product Documentation](https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/containerized_installation/index)**
>
> Containerized installation | Red Hat Documentation

---

<div class="post-metadata">

**Author:** ![davidlawrancecbe](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@davidlawrancecbe](https://forum.ansible.com/u/davidlawrancecbe)\
**Post date:** [December 16, 2024, 3:41pm UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/6 "2024-12-16T15:41:44Z")

</div>

AAP 2.5 require at least 2 nodes, because automationcontroller and automationhub cannot be in same node… I tried in 3 nodes, it works fine.

[automationgateway]  
node1  
[automationcontroller]  
node2  
[automationhub]  
node3

---

<div class="post-metadata">

**Author:** ![JVM-Steel1970](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@JVM-Steel1970](https://forum.ansible.com/u/JVM-Steel1970)\
**Post date:** [January 9, 2025, 4:54pm UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/7 "2025-01-09T16:54:54Z")

</div>

> [@davidlawrancecbe](#):
>
> AAP

Hi dandy\_auto, did you ever get your system updated to 2.5 on a single node/server environment? If so, could you share your inventory file? Respectfully

---

<div class="post-metadata">

**Author:** ![dandy\_auto](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dandy_auto/32/5428_2.png) [@dandy\_auto](https://forum.ansible.com/u/dandy_auto)\
**Post date:** [January 13, 2025, 11:34am UTC](https://forum.ansible.com/t/ansible-automation-platform-installation-an-automation-gateway-host-must-exist-in-inventory/10870/8 "2025-01-13T11:34:01Z")

</div>

No, @davidlawrancecbe recommended the Containerized installation but I didn’t try yet “my trial sub expired”
