@ -2,9 +2,6 @@
# Copyright: (c) 2019, sky-joker <sky.jokerxx@gmail.com>
# Copyright: (c) 2019, sky-joker <sky.jokerxx@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
- when : vcsim is not defined
block:
- include_tasks : reset_auto_start_config.yml
- name : Update enabled param of autoStart defaults parameters for ESXi.
- name : Update enabled param of autoStart defaults parameters for ESXi.
vmware_host_auto_start:
vmware_host_auto_start:
@ -89,7 +86,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
datacenter : ha-datacenter
datacenter : ha-datacenter
name : "{{ virtual_machines[0].name }}"
name : test_vm1
schema : vsphere
schema : vsphere
properties:
properties:
- summary.vm
- summary.vm
@ -102,7 +99,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
esxi_hostname : "{{ esxi1 }}"
esxi_hostname : "{{ esxi1 }}"
name : "{{ virtual_machines[0].name }}"
name : test_vm1
power_info:
power_info:
start_action : powerOn
start_action : powerOn
register : changed_vm_power_info_result
register : changed_vm_power_info_result
@ -148,7 +145,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
esxi_hostname : "{{ esxi1 }}"
esxi_hostname : "{{ esxi1 }}"
name : "{{ virtual_machines[0].name }}"
name : test_vm1
power_info:
power_info:
start_action : powerOn
start_action : powerOn
start_delay : 200
start_delay : 200
@ -188,7 +185,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
datacenter : ha-datacenter
datacenter : ha-datacenter
name : "{{ virtual_machines[1].name }}"
name : test_vm2
schema : vsphere
schema : vsphere
properties:
properties:
- summary.vm
- summary.vm
@ -201,7 +198,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
esxi_hostname : "{{ esxi1 }}"
esxi_hostname : "{{ esxi1 }}"
name : "{{ virtual_machines[1].name }}"
name : test_vm2
power_info:
power_info:
start_action : powerOn
start_action : powerOn
start_delay : 100
start_delay : 100
@ -241,7 +238,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
esxi_hostname : "{{ esxi1 }}"
esxi_hostname : "{{ esxi1 }}"
name : "{{ virtual_machines[1].name }}"
name : test_vm2
power_info:
power_info:
start_action : powerOn
start_action : powerOn
start_delay : 100
start_delay : 100
@ -282,7 +279,7 @@
password : "{{ esxi_password }}"
password : "{{ esxi_password }}"
validate_certs : no
validate_certs : no
datacenter : "{{ dc1 }}"
datacenter : "{{ dc1 }}"
name : "{{ virtual_machines[1].name }}"
name : test_vm2
schema : vsphere
schema : vsphere
properties:
properties:
- config.instanceUuid
- config.instanceUuid