Introduction to Ansible for VMware

Introduction

Ansible provides various modules to manage VMware infrastructure, which includes datacenter, cluster, host system and virtual machine.

Requirements

Ansible VMware modules are written on top of pyVmomi. pyVmomi is the Python SDK for the VMware vSphere API that allows user to manage ESX, ESXi, and vCenter infrastructure. You can install pyVmomi using pip:

$ pip install pyvmomi

vmware_guest module

The vmware_guest module manages various operations related to virtual machines in the given ESXi or vCenter server.

See also

pyVmomi
The GitHub Page of pyVmomi
pyVmomi Issue Tracker
The issue tracker for the pyVmomi project
govc
govc is a vSphere CLI built on top of govmomi
Working With Playbooks
An introduction to playbooks

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/scenario_guides/vmware_scenarios/vmware_intro.html