Ansible for VMware Concepts

    Any machine with Ansible installed. You can run commands and playbooks, invoking or /usr/bin/ansible-playbook, from any control node. You can use any computer that has Python installed on it as a control node - laptops, shared desktops, and servers can all run Ansible. However, you cannot use a Windows machine as a control node. You can have multiple control nodes.

    If you want to perform a VMware specific task on one host with reference to ESXi server or vCenter server, use the delegate_to keyword on a task. This delegation host will be any host where you have installed. Your control node and delegate_to host can be same or different.

    Ordered lists of tasks, saved so you can run those tasks in that order repeatedly. Playbooks can include variables as well as tasks. Playbooks are written in YAML and are easy to read, write, share and understand.

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

    If you are using any delegate_to host which is different from your control node then you need to install pyVmomi on that node.

    You can install pyVmomi using pip: