The vmware_category_facts module requires the vsphere-automation-sdk for python from https://github.com/vmware/vsphere-automation-sdk-python
A straight up pip install using the pip module and git didn’t seem to work. I wound up having to install all the sub modules using a pip task that targeted them by direct url:
tasks:
- name: Install vsphere sdk
pip:
name: - pyVmomi >= 6.7
- suds-jurko
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-runtime/vapi_runtime-2.10.2-py2.py3-none-any.whl
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-common-client/vapi_common_client-2.10.2-py2.py3-none-any.whl
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vapi-client-bindings/vapi_client_bindings-1.5.0-py2.py3-none-any.whl
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-client-bindings/vmc_client_bindings-1.3.1-py2.py3-none-any.whl
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-python-sdk/nsx_python_sdk-2.3.0.0.2.11053635-py2.py3-none-any.whl
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-2.3.0.0.2.11053635-py2.py3-none-any.whl
- https://github.com/vmware/vsphere-automation-sdk-python/raw/master/lib/vmc-app-python-sdk/vmc_app_python_sdk-2.3.0.0.2.11053635-py2.py3-none-any.whl
Is there a better way to do this? It seems less than perfect.
Mike