Troubleshooting Ansible for VMware

This section lists things that can go wrong and possible ways to fix them.

Debugging

When debugging or creating a new issue, you will need information about your VMware infrastructure. You can get this information usinggovc, For example:

  1. $ export GOVC_USERNAME=ESXI_OR_VCENTER_USERNAME
  2. $ export GOVC_PASSWORD=ESXI_OR_VCENTER_PASSWORD
  3. $ export GOVC_URL=https://ESXI_OR_VCENTER_HOSTNAME:443
  4. $ govc find /

Troubleshooting Item

Description

Potential Workaround

How to fix…