local Inventory

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

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

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