June 2018
Beginner
578 pages
13h 39m
English
You can use this module to register a VSAN cluster; this module works slightly differently to the other modules in this chapter in that you first need to generate a cluster UUID on a single host before deploying the VSAN on the remaining hosts using the UUIDs generated.
The following tasks assume you have a host group called esxi_hosts, which contains more than one host. The first task assigns the VSAN to the first host in the group, then registers the results:
- name: Configure VSAN on first host in the group vmware_vsan_cluster: hostname: "{{ groups['esxi_hosts'][0] }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" register: vsan_cluster
The results, registered as vsan_cluster, contain ...
Read now
Unlock full access