first commit

This commit is contained in:
ansible user
2025-10-22 14:11:49 +02:00
commit 110301f862
75 changed files with 20802 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# inventory/netbox.yml
plugin: netbox.netbox.nb_inventory
api_endpoint: "http://netbox.gt-tiso.ikeja.co.za" # <-- no trailing /api here
token: "7648e4f5ee370cda7834682e61b47c2ee8e95623"
query_filters:
- status: active
- has_primary_ip: True
compose:
ansible_host: >-
{{ (primary_ip4.address | default('')) | regex_replace('/\\d+$', '') }}