network/group_vars/all/vars.yml

2 lines
145 B
YAML
Raw Normal View History

vlans: "{{ query('netbox.netbox.nb_lookup', 'vlans', api_filter='group=new-net', raw_data=true) | selectattr('role') | sort(attribute='vid') }}"