Created
June 5, 2019 07:42
-
-
Save asvignesh/a6a0ed35039191ef5b32768013638130 to your computer and use it in GitHub Desktop.
Provision vSphere VM from Template on Ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: localhost | |
connection: local | |
tasks: | |
- name: Clone VM from Template | |
- vmware_guest: | |
hostname: vcenter.asvignesh.in | |
username: administrator@asvignesh.in | |
password: password | |
validate_certs: no | |
name: newvm001 | |
template: Windows2012 | |
folder: / | |
esxi_hostname: host1.asvignesh.in | |
datacenter: asvignesh_datacenter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment