Skip to content

Ansible Netbox integration

In the HomeLab environment the ansible inventory is mainly conrolled via its NetBox integration. It is used for IPs and Hostnames but as well for special configs using config_contexts of NetBox.

Those can be attached to objects through tags, cluster or site attachments (but also directly). E.g. for the monitoring folder by default /vms is used, but if I tag a device in the NetBox with for example cmk:server it gets special config values assigned which change the folder to /servers.