servers/inventory.yml
Timotej Lazar 973522c373 Import friwall role from network ansible scripts
To reuse alpine and nginx roles. Probably going to merge repos at some point.
2024-07-04 15:31:53 +02:00

19 lines
390 B
YAML

plugin: netbox.netbox.nb_inventory
interfaces: true
config_context: true
flatten_config_context: true
flatten_custom_fields: true
flatten_local_context_data: true
fetch_all: false
plurals: false
device_query_filters:
- has_primary_ip: true
query_filters:
- tenant: 'fri-it'
- role: 'compute-node'
- role: 'firewall'
- role: 'server'
- role: 'storage-node'
group_by:
- cluster