djpbessems
431598e5ca
Some checks reported errors
continuous-integration/drone/push Build encountered an error
22 lines
625 B
YAML
22 lines
625 B
YAML
- hosts: localhost
|
|
gather_facts: false
|
|
vars_files:
|
|
- hypervisor.vcenter.yml
|
|
- nodes.yml
|
|
tasks:
|
|
- name: Clone multiple VMs from template
|
|
community.vmware.vmware_guest:
|
|
hostname: "{{ hv.hostname }}"
|
|
username: "{{ hv.username }}"
|
|
password: "{{ hv_password }}"
|
|
validate_certs: no
|
|
datacenter: "{{ hv.datacenter }}"
|
|
folder: "{{ hv.folder }}"
|
|
cluster: "{{ hv.cluster }}"
|
|
name: "{{ item.ip }}"
|
|
template: "{{ item.template }}"
|
|
state: poweredon
|
|
# customization_spec: "{{ customization_spec }}"
|
|
delegate_to: localhost
|
|
with_items: "{{ servers }}"
|