local Inventory

43 views
Skip to first unread message

Rajat J

unread,
Dec 25, 2017, 4:41:34 AM12/25/17
to Ansible Project
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

Brian Coca

unread,
Jan 5, 2018, 12:49:04 PM1/5/18
to Ansible Project
Not merged yet, but this could be of interest to you
https://github.com/ansible/ansible/pull/32857



--
----------
Brian Coca

Christer Hemgren

unread,
Jan 10, 2018, 12:12:02 AM1/10/18
to Ansible Project
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
Reply all
Reply to author
Forward
0 new messages