Filter inventory on VMWare Tags

Posted on

Hi there,

I am currently importing all vm's from VMWare based, however I need to starting filtering on tags.

I have followed the instructions in Ansible docs to install the pre requisites (setuptools, pyvomi and vsphere automation sdk) however I keep getting the following error when I run the inventory sync:

[WARNING]: * Failed to parse /runner/inventory/vmware_vm_inventory.yml with auto plugin: Unable to find 'vSphere Automation SDK' Python library which is required. Please refer this URL for installation steps - https://code.vmware.com/web/sdk/7.0/vsphere-automation-python

I have used the URL to confirm that the everything is installed correctly.

Any ideas?

Thanks

Responses