# local Inventory

**URL:** <https://forum.ansible.com/t/local-inventory/26375>\
**Category:** Ansible Project\
**Tags:** windows, rhel, ubuntu, awx\
**Created:** [December 25, 2017, 9:41am UTC](https://forum.ansible.com/t/local-inventory/26375 "2017-12-25T09:41:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajat\_J](https://avatars.discourse-cdn.com/v4/letter/r/c4cdca/32.png) [@Rajat\_J](https://forum.ansible.com/u/Rajat_J)\
**Post date:** [December 25, 2017, 9:41am UTC](https://forum.ansible.com/t/local-inventory/26375/1 "2017-12-25T09:41:34Z")

</div>

Hi Guys,

we are using Ansible AWX for test we have in our infra rhel/centos/ubuntu/cisco(router/switch)windows. Our question if we want to scan all these device using ip address range like 192.168.1.0/24 and add to AWX.  
Add manual each server or device it will take very long time and we dont have any cmdb server where we can pull inventory to AWX

Any advise for the same.

Regards  
Rajat

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [January 5, 2018, 5:48pm UTC](https://forum.ansible.com/t/local-inventory/26375/2 "2018-01-05T17:48:46Z")

</div>

Not merged yet, but this could be of interest to you  
[https://github.com/ansible/ansible/pull/32857](https://github.com/ansible/ansible/pull/32857)

---

<div class="post-metadata">

**Author:** ![Christer\_Hemgren](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Christer\_Hemgren](https://forum.ansible.com/u/Christer_Hemgren)\
**Post date:** [January 5, 2018, 7:54pm UTC](https://forum.ansible.com/t/local-inventory/26375/3 "2018-01-05T19:54:15Z")

</div>

Hi

We add the inventory file in the git project. and then in inventory → my-inventory → sources → “sourced from projects” → the Inventory file.

example Inventory

| 

[ASA]

 |
| | 

192.168.96.1 ansible\_network\_os=asa

 |
| | |
| | 

[Switch]

 |
| | 

192.168.98.5 ansible\_network\_os=ios

 |

Christer
