aabouzaid / netbox-as-ansible-inventory

Ansible dynamic inventory script for Netbox.
GNU General Public License v3.0
174 stars 54 forks source link

Help with figuring out netbox.yml structure #30

Open iamroddo opened 6 years ago

iamroddo commented 6 years ago

Can you provide some more guidance on how to construct the netbox.yml file in order to extract more hostvars such as interfaces?

aabouzaid commented 6 years ago

@iamroddo do you have an example for Netbox json output that you want to make hostvars for it? I think this will make it easier to explain and see if it as expected or not.