# Awx, geographically seperated hosts with ansible distribution points

**URL:** <https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897>\
**Category:** Get Help\
**Tags:** awx, kubernetes\
**Created:** [May 21, 2024, 2:11am UTC](https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897 "2024-05-21T02:11:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidm80](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@davidm80](https://forum.ansible.com/u/davidm80)\
**Post date:** [May 21, 2024, 2:11am UTC](https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897/1 "2024-05-21T02:11:36Z")

</div>

First I have tried searching, I just can’t seem to search for the right thing. I can’t imagine I’m the first to think of this.  
I have a decent number of endpoints spread across the state. I would like to run a single AWX instance that will use ansible installed on a single box at each geographical location and distributed to endpoints from those regular ansible points. I’m trying to keep everything within the bridged local network, I just got a local kubernetes/awx installed. Now that I have gotten a basic understand of how to use AWX, figuring out how to do what I thought was possible is proving to be a bit more difficult than I thought.  
I hope I was clear in what I am trying to achieve.  
Thanks for any assistance in advance!

---

<div class="post-metadata">

**Author:** ![golakiyaalice](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/golakiyaalice/32/1046_2.png) [@golakiyaalice](https://forum.ansible.com/u/golakiyaalice)\
**Post date:** [May 21, 2024, 2:55am UTC](https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897/2 "2024-05-21T02:55:37Z")

</div>

Use awx executors hosted in different regions.

---

<div class="post-metadata">

**Author:** ![davidm80](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@davidm80](https://forum.ansible.com/u/davidm80)\
**Post date:** [May 21, 2024, 3:05am UTC](https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897/3 "2024-05-21T03:05:22Z")

</div>

I assume you mean execution environments, but I could be totally off. Will you point me to any documentation, guides, walk trough’s or other relating to this if they exist? I assume they do. I just can’t find them. If it’s a module that requires separate addition/installation, I haven’t even started learning about all of them that are available.

---

<div class="post-metadata">

**Author:** ![Denney-tech](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/denney-tech/32/1556_2.png) [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Post date:** [May 21, 2024, 3:56am UTC](https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897/4 "2024-05-21T03:56:57Z")

</div>

> [@davidm80](#):
>
> I assume you mean execution environments…

I believe they mean Execution _Nodes_. You create instances in an instance group, download the install bundle, and run the ansible bundle against the desired host. The node becomes part of the AWX mesh and will be queued for jobs that select its instance group.

---

<div class="post-metadata">

**Author:** ![davidm80](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@davidm80](https://forum.ansible.com/u/davidm80)\
**Post date:** [May 24, 2024, 1:32am UTC](https://forum.ansible.com/t/awx-geographically-seperated-hosts-with-ansible-distribution-points/5897/5 "2024-05-24T01:32:28Z")

</div>

I finally figured it out. I’m just updating this in case someone else wants to try something similar.  
I have a single AWX. I have multiple hosts [execution nodes] with ansible installed that I want to essentially use as a relay for each remote field office to the the local computers to the execution node.  
for simplicity, i have a single inventory in AWX that matches my organization name. I use groups and tags to separate hosts out. I have a group for execution\_nodes which is what you point your playbook at. The with\_items: you point to the groups that you want the tasks to be run on. Here is a very basic playbook that allows me to accomplish what I am describing.

* * *

- name: Start updates  
hosts: execution\_node  
gather\_facts: true  
become: true  
become\_method: sudo
