Hi., I have a new setup of netbox on ubuntu. - netbox install according to setup - apt install ansible pynetbox
ansible.cfg: [inventory] enable_plugins = host_list, auto, yaml, netbox.netbox.nb_inventory netbox_inventory.yaml: plugin: netbox.netbox.nb_inventory api_endpoint: https://localhost token: 12345 ansible-inventory -vvv -llist -i netbox_inventory.yaml fails with the error message: [WARNING]: * Failed to parse /root/netbox_inventory.yaml with ansible_collections.netbox.netbox.plugins.inventory.nb_inventory plugin: 'InventoryModule' object has no attribute '_vars' File "/usr/lib/python3/dist-packages/ansible/inventory/manager.py", line 289, in parse_source plugin.parse(self._inventory, self._loader, source, cache=cache) File "/root/.ansible/collections/ansible_collections/netbox/netbox/plugins/inventory/nb_inventory.py", line 1953, in parse self.templar.available_variables = self._vars [WARNING]: Unable to parse /root/netbox_inventory.yaml as an inventory source Any ideas? Michael -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f99733f5-6268-4d9d-a03d-e17d3c6059c1n%40googlegroups.com.