Hello All,
I'm testing  netbox inventory plugin locally. Below is the yml file. If I 
specify the api_endpoint and token directly like- 
api_endpoint: https://1.1.1.1
token: 2323123123
This way it is working properly. But it's not fetching the details from the 
variables files.

vars.yml
---
api: http://1.1.1.1
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.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/84df1899-0b43-491e-83c5-bb3201220b60n%40googlegroups.com.

Reply via email to