aabouzaid / netbox-as-ansible-inventory

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

Support for importing Netbox's Config Context #42

Open ghost opened 5 years ago

ghost commented 5 years ago

The goal of this PR is to enable the capability to import Config Context from Netbox directly into Ansible. This will allow for administrators to maintain their device's configuration as json inside of Netbox instead of managing host_vars and group_vars.

pasting json config file to netbox's Config Context

rendered as yaml in Ansible Tower inventory

aabouzaid commented 4 years ago

@packetferret Pretty good idea, thanks for the PR. Could you please write a test for that part.

And to check that, could you please to update your branch with latest change in devel branch, I've fixed the ci so all checks will work now.

Thanks.