@ -17,7 +17,7 @@
hostname : "{{ vcenter_hostname }}"
hostname : "{{ vcenter_hostname }}"
username : "{{ vcenter_username }}"
username : "{{ vcenter_username }}"
password : "{{ vcenter_password }}"
password : "{{ vcenter_password }}"
name : "{{ infra.vm_list[0] }}"
name : "{{ virtual_machines[0].name }}"
gather_network_facts : true
gather_network_facts : true
register : netadapter_facts
register : netadapter_facts
@ -33,7 +33,7 @@
hostname : "{{ vcenter_hostname }}"
hostname : "{{ vcenter_hostname }}"
username : "{{ vcenter_username }}"
username : "{{ vcenter_username }}"
password : "{{ vcenter_password }}"
password : "{{ vcenter_password }}"
name : "{{ infra.vm_list[0] }}"
name : "{{ virtual_machines[0].name }}"
networks:
networks:
- name : "VM Network"
- name : "VM Network"
state : new
state : new
@ -59,7 +59,7 @@
hostname : "{{ vcenter_hostname }}"
hostname : "{{ vcenter_hostname }}"
username : "{{ vcenter_username }}"
username : "{{ vcenter_username }}"
password : "{{ vcenter_password }}"
password : "{{ vcenter_password }}"
name : "{{ infra.vm_list[0] }}"
name : "{{ virtual_machines[0].name }}"
networks:
networks:
- state : absent
- state : absent
mac : "00:50:56:58:59:60"
mac : "00:50:56:58:59:60"
@ -79,7 +79,7 @@
hostname : "{{ vcenter_hostname }}"
hostname : "{{ vcenter_hostname }}"
username : "{{ vcenter_username }}"
username : "{{ vcenter_username }}"
password : "{{ vcenter_password }}"
password : "{{ vcenter_password }}"
name : "{{ infra.vm_list[0] }}"
name : "{{ virtual_machines[0].name }}"
networks:
networks:
- state : present
- state : present
mac : "00:50:56:58:59:61"
mac : "00:50:56:58:59:61"
@ -100,7 +100,7 @@
hostname : "{{ vcenter_hostname }}"
hostname : "{{ vcenter_hostname }}"
username : "{{ vcenter_username }}"
username : "{{ vcenter_username }}"
password : "{{ vcenter_password }}"
password : "{{ vcenter_password }}"
name : "{{ infra.vm_list[0] }}"
name : "{{ virtual_machines[0].name }}"
networks:
networks:
- name : non-existing-nw
- name : non-existing-nw
manual_mac : "00:50:56:11:22:33"
manual_mac : "00:50:56:11:22:33"