You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query_filters:
- role: server
- tag: web
- tag: production
# See the NetBox documentation at https://netbox.readthedocs.io/en/stable/rest-api/overview/
# the query_filters work as a logical **OR**
#
But in this example they work as logical AND and will select devices, that has role server AND tag web AND tag production. But if I add
- status: active
- status: provisioning
They will use OR
Look like need more deep explain in plugin documentation, when rule OR applies, and when AND. Now looks like for role and tag always applies AND, and for other fields OR
The text was updated successfully, but these errors were encountered:
Change Type
Correction
Area
Configuration parameters
Proposed Changes
Look at https://docs.ansible.com/ansible/latest/collections/netbox/netbox/nb_inventory_inventory.html,
But in this example they work as logical AND and will select devices, that has role server AND tag web AND tag production. But if I add
They will use OR
Look like need more deep explain in plugin documentation, when rule OR applies, and when AND. Now looks like for
role
andtag
always applies AND, and for other fields ORThe text was updated successfully, but these errors were encountered: