Re: [ansible-project] Get info from Content Libraries with community.vmware

60 views
Skip to first unread message
Message has been deleted

Abhijeet Kasurde

unread,
Jul 18, 2022, 9:53:50 AM7/18/22
to ansible...@googlegroups.com
Please install vSphere Automation SDK on `cn.localdomain` with Python3.9

On Mon, Jul 18, 2022 at 7:21 PM fabiuscom1 <fabi...@gmail.com> wrote:
Hi,
i got this playbook

- hosts: localhost
  tasks:
          - name: Get List of Content Libraries
            community.vmware.vmware_content_library_info:
                    hostname: value
                    username: value
                    password: value
            delegate_to: localhost

but received this message: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'com'
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (vSphere Automation SDK) on cn.localdomain's Python /usr/bin/python3.9. See https://code.vmware.com/web/sdk/7.0/vsphere-automation-python for more info. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/40f3d057-e688-493a-899c-4b930eb2d9adn%40googlegroups.com.


--
Thanks,
Abhijeet Kasurde
Reply all
Reply to author
Forward
0 new messages