From 68c47bdfad749860e5706841d124a0eadcb6790f Mon Sep 17 00:00:00 2001 From: Patrick Niebeling Date: Tue, 25 Nov 2025 22:28:29 +0100 Subject: [PATCH] Test netbox --- inventory/netbox.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 inventory/netbox.yml 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