September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module allows the creation, modification, and removal of virtual machines. They also allow status and resource control of the specified virtual machines, including power status modification and they complement customization. The following playbook example shows how to create a virtual machine based on a template:
---- name: VMware Module running hosts: vms tasks: - name: create a new virtual machine from a template vmware_guest: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: False folder: /lab-folder name: "{{ inventory_hostname }}" state: poweredon template: debian8_temp disk: - size_gb: 15 type: ...Read now
Unlock full access