diff --git a/inventory/netbox.yml b/inventory/netbox.yml new file mode 100644 index 0000000..aa2bea9 --- /dev/null +++ b/inventory/netbox.yml @@ -0,0 +1,21 @@ +--- +plugin: netbox.netbox.nb_inventory +api_endpoint: http://192.168.112.8:9999/api/ +api_token: 6b96297bf30a091b683a66f92f15efe72ac79dee +validate_certs: false +config_context: true +plurals: false +group_names_raw: false +group_by: + - tag +query_filters: + - tenant: home # has to be lowercase + - tag: ansible + - tag: prod + - status: active +keyed_groups: + - key: tags + prefix: "home" + separator: "_" + - key: tags + separator: "" \ No newline at end of file