# \#inventory

**URL:** https://forum.ansible.com/tag/inventory/201.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [Groups in Parallel, hosts in serial](https://forum.ansible.com/t/groups-in-parallel-hosts-in-serial/46131)

<div class="topic-metadata">

**Author:** [@phessler](https://forum.ansible.com/u/phessler)\
**Replies:** 11\
**Last updated:** [August 6, 2026, 1:01pm UTC](https://forum.ansible.com/t/groups-in-parallel-hosts-in-serial/46131 "2026-08-06T13:01:26Z")

</div>

Hi All, I have a relatively standard HA deployment, where I have several regions each with their own load balancer and several hosts in each region. What I want to do is be able to do a normal ansible-playbook run, and…

---

## [Host\_vars not discovered](https://forum.ansible.com/t/host-vars-not-discovered/46042)

<div class="topic-metadata">

**Author:** [@aragilar](https://forum.ansible.com/u/aragilar)\
**Replies:** 5\
**Last updated:** [July 15, 2026, 1:32am UTC](https://forum.ansible.com/t/host-vars-not-discovered/46042 "2026-07-15T01:32:27Z")

</div>

Hi I’ve followed Sample Ansible setup — Ansible Community Documentation and sometimes the host\_vars directories are not discovered. How do I debug this, and does this layout work?

---

## [\`--no-vars\` option for \`ansible-inventory(1)\`?](https://forum.ansible.com/t/no-vars-option-for-ansible-inventory-1/45890)

<div class="topic-metadata">

**Author:** [@mirabilos](https://forum.ansible.com/u/mirabilos)\
**Replies:** 5\
**Last updated:** [June 8, 2026, 6:53pm UTC](https://forum.ansible.com/t/no-vars-option-for-ansible-inventory-1/45890 "2026-06-08T18:53:51Z")

</div>

Hi! I’m using ansible-inventory --list to get a parsed view of the inventory¹. Unfortunately, it does too much: it also outputs a huge (8 MB compared to maybe a dozen KB for the inventory) key called \_meta which I have…

---

## [Help: aws\_ec2 inventory fails with 'NoneType' error and reserved name 'tags' warning](https://forum.ansible.com/t/help-aws-ec2-inventory-fails-with-nonetype-error-and-reserved-name-tags-warning/45819)

<div class="topic-metadata">

**Author:** [@Renato\_Muiambo](https://forum.ansible.com/u/Renato_Muiambo)\
**Replies:** 2\
**Last updated:** [May 19, 2026, 6:05pm UTC](https://forum.ansible.com/t/help-aws-ec2-inventory-fails-with-nonetype-error-and-reserved-name-tags-warning/45819 "2026-05-19T18:05:03Z")

</div>

Hi everyone, I need some help troubleshooting a persistent NoneType error when trying to use the aws\_ec2 inventory plugin combined with the amazon.aws.aws\_ssm connection plugin. I have already verified my AWS infrastru…

---

## [Using 'aws login' with Dynamic Inventory plugin: amazon.aws.aws\_ec2](https://forum.ansible.com/t/using-aws-login-with-dynamic-inventory-plugin-amazon-aws-aws-ec2/45744)

<div class="topic-metadata">

**Author:** [@adamatrfx](https://forum.ansible.com/u/adamatrfx)\
**Replies:** 7\
**Last updated:** [April 29, 2026, 6:44pm UTC](https://forum.ansible.com/t/using-aws-login-with-dynamic-inventory-plugin-amazon-aws-aws-ec2/45744 "2026-04-29T18:44:15Z")

</div>

I have been using the plugin: amazon.aws.aws\_ec2 successfully for a while now. I was successfully using aws-azure-login to get my AWS credentials, which works when it works but aws-azure-login doesn’t always work and ha…

---

## [Community\_vmware.yml - filtering by createDate](https://forum.ansible.com/t/community-vmware-yml-filtering-by-createdate/45618)

<div class="topic-metadata">

**Author:** [@hsngztk](https://forum.ansible.com/u/hsngztk)\
**Replies:** 2\
**Last updated:** [April 10, 2026, 3:32pm UTC](https://forum.ansible.com/t/community-vmware-yml-filtering-by-createdate/45618 "2026-04-10T15:32:50Z")

</div>

Hi! I need to create an inventory which consists vms that created past week. config.createDate format is ansible\_date\_time.iso8601 Do you have any suggestion to do that? filters: - runtime.powerState == "poweredOn"…

---

## [Integration testing with a single inventory configuration](https://forum.ansible.com/t/integration-testing-with-a-single-inventory-configuration/45239)

<div class="topic-metadata">

**Author:** [@Sankar\_Kumar](https://forum.ansible.com/u/Sankar_Kumar)\
**Replies:** 4\
**Last updated:** [February 4, 2026, 5:39am UTC](https://forum.ansible.com/t/integration-testing-with-a-single-inventory-configuration/45239 "2026-02-04T05:39:07Z")

</div>

I am trying to write an integration test for custom API automation modules. here is the scenario, I have a server where my application is deployed with all the api’s (Mostly one server always). While writing integrati…

---

## [Creating Centreon ansible module](https://forum.ansible.com/t/creating-centreon-ansible-module/45122)

<div class="topic-metadata">

**Author:** [@Parnoud](https://forum.ansible.com/u/Parnoud)\
**Replies:** 5\
**Last updated:** [January 20, 2026, 2:43pm UTC](https://forum.ansible.com/t/creating-centreon-ansible-module/45122 "2026-01-20T14:43:39Z")

</div>

Hello, new here ! I face issue at work with centreon, and i figured out that Centreon didn"t create ansible module for manage it. I take some time do start create one. I 'm trying to do it the right way so if you got s…

---

## [Cant use installed inventory plugins - awx redirects to auto plugin](https://forum.ansible.com/t/cant-use-installed-inventory-plugins-awx-redirects-to-auto-plugin/45125)

<div class="topic-metadata">

**Author:** [@hsngztk](https://forum.ansible.com/u/hsngztk)\
**Replies:** 8\
**Last updated:** [January 19, 2026, 11:46am UTC](https://forum.ansible.com/t/cant-use-installed-inventory-plugins-awx-redirects-to-auto-plugin/45125 "2026-01-19T11:46:51Z")

</div>

Hi! I’m trying to create dynamic inventories to manage ESX Hosts & VMs. I’ve created a custom execution environment to use the vmware.vmware collection plugins. Even though I declared the plugin in the source variables …

---

## [Tweaking an inventory's groups](https://forum.ansible.com/t/tweaking-an-inventorys-groups/45024)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 4\
**Last updated:** [December 24, 2025, 12:08am UTC](https://forum.ansible.com/t/tweaking-an-inventorys-groups/45024 "2025-12-24T00:08:58Z")

</div>

I want to experiment with applying tweaks to an otherwise static inventory at runtime, but I’m not sure how to accomplish this. The existing inventory is a straightforward “ini” format single file, all hosts are in group…

---

## [AWX Dealing with inventories generated out of band](https://forum.ansible.com/t/awx-dealing-with-inventories-generated-out-of-band/44766)

<div class="topic-metadata">

**Author:** [@infraerik](https://forum.ansible.com/u/infraerik)\
**Replies:** 4\
**Last updated:** [November 13, 2025, 2:00pm UTC](https://forum.ansible.com/t/awx-dealing-with-inventories-generated-out-of-band/44766 "2025-11-13T14:00:14Z")

</div>

Taking my first steps in an environment with AWX and we have some workflows where network switch inventories are generated automatically by extracting from a custom CMDB. Historically, these inventories were stored in th…

---

## [Setting connection vars in LXD Inventory](https://forum.ansible.com/t/setting-connection-vars-in-lxd-inventory/44737)

<div class="topic-metadata">

**Author:** [@dkettman](https://forum.ansible.com/u/dkettman)\
**Replies:** 2\
**Last updated:** [October 27, 2025, 5:07pm UTC](https://forum.ansible.com/t/setting-connection-vars-in-lxd-inventory/44737 "2025-10-27T17:07:28Z")

</div>

Hello, I am working on some lab building Ansible playbooks and using Incus/LXD for the “hypervisor”. Some of my VMs are Windows machines which I want to use the psrp module to connect to them. This requires setting some…

---

## [Plugin Idea: postgresql\_inventory](https://forum.ansible.com/t/plugin-idea-postgresql-inventory/44621)

<div class="topic-metadata">

**Author:** [@gebz97](https://forum.ansible.com/u/gebz97)\
**Replies:** 4\
**Last updated:** [October 6, 2025, 8:55pm UTC](https://forum.ansible.com/t/plugin-idea-postgresql-inventory/44621 "2025-10-06T20:55:06Z")

</div>

Hello Everyone, I’m Gebz (First post on the Ansible forums). I’ve recently started working on a custom plugin for pulling dynamic inventory data from a postgresql table (since I didn’t find any that exist to my knowledg…

---

## [Troubleshooting Dynamic Inventory in vmware.vmware.vms](https://forum.ansible.com/t/troubleshooting-dynamic-inventory-in-vmware-vmware-vms/44453)

<div class="topic-metadata">

**Author:** [@bzaks1424](https://forum.ansible.com/u/bzaks1424)\
**Replies:** 4\
**Last updated:** [September 10, 2025, 2:01pm UTC](https://forum.ansible.com/t/troubleshooting-dynamic-inventory-in-vmware-vmware-vms/44453 "2025-09-10T14:01:41Z")

</div>

Troubleshooting Dynamic Inventory in vmware.vmware.vms. My goal is simply to configure ansible against my vcenter for dynamic inventory to start. When I run the script - even with a bad vcenter hostname - it runs instan…

---

## [Can't get vmware.vmware.vms to run](https://forum.ansible.com/t/cant-get-vmware-vmware-vms-to-run/44207)

<div class="topic-metadata">

**Author:** [@AnsiBrokeMe](https://forum.ansible.com/u/AnsiBrokeMe)\
**Replies:** 2\
**Last updated:** [August 5, 2025, 6:11pm UTC](https://forum.ansible.com/t/cant-get-vmware-vmware-vms-to-run/44207 "2025-08-05T18:11:05Z")

</div>

Hello dear Ansible community :waving\_hand:. I am writting here my first post and I am still a beginner with ansible. So if there is anything to fix with my post let me know. \*\* What did I try so far \*\* So far I have t…

---

## [Exclude hosts from Constructed Inventory or overwrite inventory project variables inside AWX](https://forum.ansible.com/t/exclude-hosts-from-constructed-inventory-or-overwrite-inventory-project-variables-inside-awx/44049)

<div class="topic-metadata">

**Author:** [@Klistel](https://forum.ansible.com/u/Klistel)\
**Replies:** 7\
**Last updated:** [July 28, 2025, 8:26pm UTC](https://forum.ansible.com/t/exclude-hosts-from-constructed-inventory-or-overwrite-inventory-project-variables-inside-awx/44049 "2025-07-28T20:26:09Z")

</div>

Is there a way to exclude hosts from a Constructed Inventory that exists in the upstream based on some criteria? I’m reading the documentation on the docs.ansible.com site and it doesn’t look like a “filter” option is i…

---

## [awx.awx module - disassociate host from group?](https://forum.ansible.com/t/awx-awx-module-disassociate-host-from-group/44091)

<div class="topic-metadata">

**Author:** [@valluwtf](https://forum.ansible.com/u/valluwtf)\
**Replies:** 0\
**Last updated:** [July 25, 2025, 12:26pm UTC](https://forum.ansible.com/t/awx-awx-module-disassociate-host-from-group/44091 "2025-07-25T12:26:18Z")

</div>

I want to automatically remove a host from an inventory group in AWX in a worfklow template. It seems like neither the awx.awx.host not the awx.awx.group module allow me to do that - using the group module it will delete…

---

## [Dynamic IP addresses in inventory](https://forum.ansible.com/t/dynamic-ip-addresses-in-inventory/43596)

<div class="topic-metadata">

**Author:** [@Automator](https://forum.ansible.com/u/Automator)\
**Replies:** 1\
**Last updated:** [June 27, 2025, 3:27pm UTC](https://forum.ansible.com/t/dynamic-ip-addresses-in-inventory/43596 "2025-06-27T15:27:33Z")

</div>

Hello everyone, I’ve a lot of Unifi Access Point without A-RR in DNS. So if I want to connect to the access point, I’ve to connect over the ip address, instead of using a dns name. So I want reach the AP with the Ansib…

---

## [Vmware.vmware.vms inventory plugin appears to be ignoring inventory cache](https://forum.ansible.com/t/vmware-vmware-vms-inventory-plugin-appears-to-be-ignoring-inventory-cache/42266)

<div class="topic-metadata">

**Author:** [@eddiejennings](https://forum.ansible.com/u/eddiejennings)\
**Replies:** 6\
**Last updated:** [June 27, 2025, 3:05pm UTC](https://forum.ansible.com/t/vmware-vmware-vms-inventory-plugin-appears-to-be-ignoring-inventory-cache/42266 "2025-06-27T15:05:43Z")

</div>

I figure I’d post here first before filing a bug report on GitHub as a sanity check. :slight\_smile: Those who have been in the community longer, let me know if that isn’t the desired order of things when encountering a p…

---

## [Can I set a default value for the enabled\_value?](https://forum.ansible.com/t/can-i-set-a-default-value-for-the-enabled-value/43425)

<div class="topic-metadata">

**Author:** [@ShiverTeapot](https://forum.ansible.com/u/ShiverTeapot)\
**Replies:** 4\
**Last updated:** [June 17, 2025, 7:22pm UTC](https://forum.ansible.com/t/can-i-set-a-default-value-for-the-enabled-value/43425 "2025-06-17T19:22:24Z")

</div>

I supply AWX with inventory sources yaml files. I need a ‘easy to configure’ way to exclude hosts in an inventory from jobs with a reason attached. I came up with an idea to (ab)use the enabled\_var . I found that the…

---

## [AWX - Create dynamic inventory from python script](https://forum.ansible.com/t/awx-create-dynamic-inventory-from-python-script/43031)

<div class="topic-metadata">

**Author:** [@mcoussi](https://forum.ansible.com/u/mcoussi)\
**Replies:** 4\
**Last updated:** [June 6, 2025, 1:55pm UTC](https://forum.ansible.com/t/awx-create-dynamic-inventory-from-python-script/43031 "2025-06-06T13:55:30Z")

</div>

Hi, I use an AWX instance \[23.7.0\] with static inventory. I developped a python script to create a dynamic inventory. The return is in YAML and works fine (Datasource from an API). But now i want to create an invento…

---

## [How to copy a folder between two virtual machines?](https://forum.ansible.com/t/how-to-copy-a-folder-between-two-virtual-machines/42695)

<div class="topic-metadata">

**Author:** [@virusek391](https://forum.ansible.com/u/virusek391)\
**Replies:** 6\
**Last updated:** [May 17, 2025, 1:24pm UTC](https://forum.ansible.com/t/how-to-copy-a-folder-between-two-virtual-machines/42695 "2025-05-17T13:24:41Z")

</div>

Hi, I have vritual machine with Ansible. Now i want copy data from directory certyfikaty on svrhost to directory /svr/vaultwarden/cert folder on svrdocker. I don’t know what’s wrong, but below code dosen;t work - name…

---

## [AWX Inventory Source Update scm\_revisioin](https://forum.ansible.com/t/awx-inventory-source-update-scm-revisioin/42690)

<div class="topic-metadata">

**Author:** [@dpowell](https://forum.ansible.com/u/dpowell)\
**Replies:** 4\
**Last updated:** [May 16, 2025, 2:32pm UTC](https://forum.ansible.com/t/awx-inventory-source-update-scm-revisioin/42690 "2025-05-16T14:32:33Z")

</div>

Does anyone know how AWX determines the scm\_revision at the following endpoint? api/v2/inventory\_sources/970/inventory\_updates/ I have 800+ inventories sourced from SCM Project. I’m working on a role that will only trig…

---

## [Slow Dynamic Inventory Performance with Execution Environments](https://forum.ansible.com/t/slow-dynamic-inventory-performance-with-execution-environments/42018)

<div class="topic-metadata">

**Author:** [@eddiejennings](https://forum.ansible.com/u/eddiejennings)\
**Replies:** 8\
**Last updated:** [April 29, 2025, 12:30am UTC](https://forum.ansible.com/t/slow-dynamic-inventory-performance-with-execution-environments/42018 "2025-04-29T00:30:17Z")

</div>

I am in the process of testing the use of execution environments to eventually transition my environment into using ansible-navigator. I’ve noticed an unexpected behavior regarding my execution environment and the vmwar…

---

## [How to output ansible\_group\_priority](https://forum.ansible.com/t/how-to-output-ansible-group-priority/41976)

<div class="topic-metadata">

**Author:** [@opoplawski](https://forum.ansible.com/u/opoplawski)\
**Replies:** 3\
**Last updated:** [April 24, 2025, 6:15pm UTC](https://forum.ansible.com/t/how-to-output-ansible-group-priority/41976 "2025-04-24T18:15:32Z")

</div>

I’m working on updating the cobbler inventory plugin to add ansible\_group\_priority to various groups that it creates. I’m trying to figure out if it is doing what I want. Is there any way to dump the final inventory th…

---

## [AWX Inventory from Excel ](https://forum.ansible.com/t/awx-inventory-from-excel/41890)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 2\
**Last updated:** [April 23, 2025, 1:14pm UTC](https://forum.ansible.com/t/awx-inventory-from-excel/41890 "2025-04-23T13:14:13Z")

</div>

Hi, We have huge list of servers in excel sheet i want to import the inventory from excel sheet and want to sacn a particular directory to fech the file details and create the excel sheet with the results is it possible…

---

## [Specified inventory, host pattern and/or --limit leaves us with no hosts to target](https://forum.ansible.com/t/specified-inventory-host-pattern-and-or-limit-leaves-us-with-no-hosts-to-target/41577)

<div class="topic-metadata">

**Author:** [@Lyle\_McKarns](https://forum.ansible.com/u/Lyle_McKarns)\
**Replies:** 11\
**Last updated:** [April 9, 2025, 3:20pm UTC](https://forum.ansible.com/t/specified-inventory-host-pattern-and-or-limit-leaves-us-with-no-hosts-to-target/41577 "2025-04-09T15:20:47Z")

</div>

Hello - I’m seeing the noted error in some, but not all, cases ERROR! Specified inventory, host pattern and/or --limit leaves us with no hosts to target. Its consistent on which of my workflow jobs it occurs, all th…

---

## [Inventory group\_vars loading behavior when inventory is directory](https://forum.ansible.com/t/inventory-group-vars-loading-behavior-when-inventory-is-directory/41454)

<div class="topic-metadata">

**Author:** [@bvitnik](https://forum.ansible.com/u/bvitnik)\
**Replies:** 9\
**Last updated:** [April 8, 2025, 10:00pm UTC](https://forum.ansible.com/t/inventory-group-vars-loading-behavior-when-inventory-is-directory/41454 "2025-04-08T22:00:02Z")

</div>

So, I’ve experimented a bit with an inventory as directory, inventory group\_vars and dir/file hierarchy there of. What I have encountered is this: /some/ansible/project |-- playbook.yml # playbook |-- group\_va…

---

## [Aggregating data from complex hierarchal sources](https://forum.ansible.com/t/aggregating-data-from-complex-hierarchal-sources/41522)

<div class="topic-metadata">

**Author:** [@sirklezero](https://forum.ansible.com/u/sirklezero)\
**Replies:** 3\
**Last updated:** [April 6, 2025, 3:54am UTC](https://forum.ansible.com/t/aggregating-data-from-complex-hierarchal-sources/41522 "2025-04-06T03:54:13Z")

</div>

I’m developing an Ansible playbook to help me automate the management of several dozen zones in Bind using the Community nsupdate module https://docs.ansible.com/ansible/latest/collections/community/general/nsupdate\_modu…

---

## [Does host\_vars override role default role](https://forum.ansible.com/t/does-host-vars-override-role-default-role/41511)

<div class="topic-metadata">

**Author:** [@sparsick](https://forum.ansible.com/u/sparsick)\
**Replies:** 1\
**Last updated:** [April 4, 2025, 9:44am UTC](https://forum.ansible.com/t/does-host-vars-override-role-default-role/41511 "2025-04-04T09:44:22Z")

</div>

Like I understand the documentation about variable precedence, variable defined in host\_vars can override vars in roles default. I have the following playbook: --- - hosts: myhosts gather\_facts: false pre\_tasks: …

[Next page](https://forum.ansible.com/tag/inventory/201.md?match_all_tags=true&page=1&tags%5B%5D=inventory)
