2019-04-24 19:02:21 +02:00
|
|
|
- name: Create Cluster
|
|
|
|
vmware_cluster:
|
|
|
|
hostname: '{{ vcenter_hostname }}'
|
|
|
|
username: '{{ vcenter_username }}'
|
|
|
|
password: '{{ vcenter_password }}'
|
|
|
|
datacenter_name: '{{ dc1 }}'
|
|
|
|
cluster_name: '{{ ccr1 }}'
|
|
|
|
validate_certs: no
|
2019-08-01 10:35:29 +02:00
|
|
|
|
|
|
|
- name: Enable DRS on Cluster
|
|
|
|
vmware_cluster_drs:
|
|
|
|
hostname: '{{ vcenter_hostname }}'
|
|
|
|
username: '{{ vcenter_username }}'
|
|
|
|
password: '{{ vcenter_password }}'
|
|
|
|
datacenter_name: '{{ dc1 }}'
|
|
|
|
cluster_name: '{{ ccr1 }}'
|
2019-04-24 19:02:21 +02:00
|
|
|
enable_drs: yes
|
2019-08-01 10:35:29 +02:00
|
|
|
validate_certs: no
|