Test netbox
This commit is contained in:
21
inventory/netbox.yml
Normal file
21
inventory/netbox.yml
Normal file
@@ -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: ""
|
||||
Reference in New Issue
Block a user