Skip to content

It is possible to make a groups tree? #668

Closed Answered by k0ste
k0ste asked this question in Q&A
Discussion options

You must be logged in to vote

Resolved via:

---
plugin: 'netbox.netbox.nb_inventory'
api_endpoint: '<endpoint>'
token: '<token>'
config_context: 'no'
site_data: 'yes'
interfaces: 'yes'
group_names_raw: 'yes'
use_extra_vars: 'yes'
fetch_all: 'no'
group_by:
  - 'device_roles'
keyed_groups:
  - key: 'device_role'
    parent_group: 'my_root_group_name'
    trailing_separator: false
    separator: ''
query_filters:
  - status: 'active'
  - cluster_id: 3
device_query_filters:
  - has_primary_ip: 'true'
vm_query_filters:
  - name__empty: 'true'

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@tobiicerb
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sc68cal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants