September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module manages the physical equipment of the VMware infrastructure. The ESX/ESXi hosts are where the computer resources are stored. This module manages the power status of the hosts. It can very handy when scheduling a reboot after maintenance, an update, or a fix. The following example playbook shows how this module can be used:
- name: restart ESXi host vmware_guest_snapshot: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: no esxi_hostname: esxihost1.lab.edu state: reboot-host delegate_to: localhost
Read now
Unlock full access