Hello All,
I'm testing netbox inventory plugin locally. Below is the yml file. If I specify the api_endpoint and token directly like-
token: 2323123123
This way it is working properly. But it's not fetching the details from the variables files.
vars.yml
---
token: 2323123123
inventory.yml
---
plugin: netbox.netbox.nb_inventory
api_endpoint: '{{ api }}'
token: '{{ token }}'
validate_certs: False
config_context: False
group_by:
- sites
device_query_filters:
- has_primary_ip: 'true'
Thanks.