Using Ansible and Python in ESXi

This page summarizes the projects mentioned and recommended in the original post on /r/sysadmin

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • vsphere-automation-sdk-python

    Python samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API

  • Use a linux server to set things up for running the playbooks pip install pyvnomi pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git ansible-galaxy collection install community.vmware Make sure you have vcenter setup as this is where the magic happens (where the API and all the other capabilities exist) and you should be running at least vCenter Essentials Kit or Standard with a separate license for vCenter. The free version is kind of watered down and does not enable the APIs for full automation out of the box. You would need to use something similar to pexpect in order to orchestrate ssh commands that may or may not work in the free version.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts