mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6d645c127f
The vmware test roles do a lot of similar operation to prepare the environment. This role will be used to reduce the amount of duplicated code. The role can prepare an environment on a baremetal environment, this in addition to vcsim. Original PR: https://github.com/ansible/ansible/pull/54882
9 lines
265 B
YAML
9 lines
265 B
YAML
- name: Create Cluster
|
|
vmware_cluster:
|
|
hostname: '{{ vcenter_hostname }}'
|
|
username: '{{ vcenter_username }}'
|
|
password: '{{ vcenter_password }}'
|
|
datacenter_name: '{{ dc1 }}'
|
|
cluster_name: '{{ ccr1 }}'
|
|
validate_certs: no
|
|
enable_drs: yes
|