|
|
@ -25,7 +25,7 @@ short_description: Create VMware vSphere Cluster
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Create VMware vSphere Cluster
|
|
|
|
- Create VMware vSphere Cluster
|
|
|
|
version_added: 2.0
|
|
|
|
version_added: 2.0
|
|
|
|
author: Joseph Callen
|
|
|
|
author: Joseph Callen (@jcpowermac)
|
|
|
|
notes:
|
|
|
|
notes:
|
|
|
|
requirements:
|
|
|
|
requirements:
|
|
|
|
- Tested on ESXi 5.5
|
|
|
|
- Tested on ESXi 5.5
|
|
|
@ -35,47 +35,40 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The hostname or IP address of the vSphere vCenter
|
|
|
|
- The hostname or IP address of the vSphere vCenter
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The username of the vSphere vCenter
|
|
|
|
- The username of the vSphere vCenter
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
aliases: ['user', 'admin']
|
|
|
|
aliases: ['user', 'admin']
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The password of the vSphere vCenter
|
|
|
|
- The password of the vSphere vCenter
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
aliases: ['pass', 'pwd']
|
|
|
|
aliases: ['pass', 'pwd']
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
datacenter_name:
|
|
|
|
datacenter_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the datacenter the cluster will be created in.
|
|
|
|
- The name of the datacenter the cluster will be created in.
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
cluster_name:
|
|
|
|
cluster_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the cluster that will be created
|
|
|
|
- The name of the cluster that will be created
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
enable_ha:
|
|
|
|
enable_ha:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- If set to True will enable HA when the cluster is created.
|
|
|
|
- If set to True will enable HA when the cluster is created.
|
|
|
|
required: False
|
|
|
|
required: False
|
|
|
|
default: False
|
|
|
|
default: False
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
enable_drs:
|
|
|
|
enable_drs:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- If set to True will enable DRS when the cluster is created.
|
|
|
|
- If set to True will enable DRS when the cluster is created.
|
|
|
|
required: False
|
|
|
|
required: False
|
|
|
|
default: False
|
|
|
|
default: False
|
|
|
|
version_added: 2.0
|
|
|
|
|
|
|
|
enable_vsan:
|
|
|
|
enable_vsan:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- If set to True will enable vSAN when the cluster is created.
|
|
|
|
- If set to True will enable vSAN when the cluster is created.
|
|
|
|
required: False
|
|
|
|
required: False
|
|
|
|
default: False
|
|
|
|
default: False
|
|
|
|
version_added: 2.0
|
|
|
|
notes: []
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|