Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Clone a virtual machine from Linux template and customize
- vmware_guest:
- hostname: "{{ vcenter_hostname }}"
- username: "{{ vcenter_username }}"
- password: "{{ vcenter_password }}"
- validate_certs: no
- datacenter: "{{ datacenter }}"
- state: present
- folder: /TEST_LABB
- template: "{{ template }}"
- name: "{{ vm_names }}"
- cluster: Cluster1
- networks:
- - name: DVS-lab-net-133
- ip: "{{ ip_address }}"
- gateway4: 10.200.133.1
- netmask: 255.255.255.0
- wait_for_ip_address: True
- with_items:
- - '{{ vm_names }}'
- - '{{ ip_address }}'
- delegate_to: localhost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement