Inventory plugin only returns a single VM #1398
Unanswered
BlankBanshee01
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple Virtual machines documented on my Netbox instance. On the ansible side im using AWX, i have created a new empty inventory and created a inventory source to be Netbox and setup the plugin and credentials and all.
My inventory.yml looks like this (I have setup the endpoint and Token as credentials and attached them to inventory sync job.)
When i run the inventory sync job i only get 1 single VM back (the top listed one), if i delete that VM from netbox and run the sync again i get the next top one.
I tried adding
vm_query_filters
and extra params likefetch_all
to no avail. Always keep getting a single VM.I queried the API directly and i got all of the VMs back so my Netbox installation is healthy.
https://my-netbox.cloud/api/virtualization/virtual-machines/?limit=0&exclude=config_context
Could i be doing something wrong with the plugin configuration?
Beta Was this translation helpful? Give feedback.
All reactions