This ansible playbook will help to deploy vmware guest on VMware vCenter Server.
$ ansible-playbook deploy-vmware-guest.yaml
- Create a VM folder
- Create a Resource Pool
- Deploy the VM
- Map the IP and Configure the FQDN
$ ansible-playbook delete-vmware-guest.yaml
- Take the input of VM name
- Delete the VM
- Delete the VM Folder
- Delete the Resource Pool
$ ansible-playbook snapshot-vmware-guest.yaml
- Prompt for the VM name
- Take an in memory snapshot of the VM