June 2018
Beginner
578 pages
13h 39m
English
You can use this module to attach your ESXi host to a vCenter:
- name: add an esxi host to vcenter vmware_host: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" datacenter_name: "my-datacenter" cluster_name: "my_cluster" esxi_hostname: "{{ exsi_host }}" esxi_username: "{{ exsi_username }}" esxi_password: "{{ exsi_password }}" state: present
You can also use the module to reattach a host to your vCenter cluster:
- name: reattach an esxi host to vcenter vmware_host: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" datacenter_name: "my-datacenter" cluster_name: "my_cluster" esxi_hostname: "{{ exsi_host }}" esxi_username: ...Read now
Unlock full access