2018-03-21 17:31:24 +00:00
|
|
|
# Copyright: (c) 2016, Charles Paul <cpaul@ansible.com>
|
|
|
|
# Copyright: (c) 2018, Ansible Project
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
2016-01-12 17:06:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
2016-10-14 14:13:15 +00:00
|
|
|
# Parameters for VMware modules
|
2016-01-12 17:06:22 +00:00
|
|
|
DOCUMENTATION = '''
|
|
|
|
options:
|
|
|
|
hostname:
|
2018-03-21 17:31:24 +00:00
|
|
|
description:
|
2018-04-12 14:18:04 +00:00
|
|
|
- The hostname or IP address of the vSphere vCenter or ESXi server.
|
2018-03-21 17:31:24 +00:00
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_HOST) will be used instead.
|
|
|
|
- Environment variable supported added in version 2.6.
|
2018-07-09 09:27:06 +00:00
|
|
|
type: str
|
2016-01-12 17:06:22 +00:00
|
|
|
username:
|
2018-03-21 17:31:24 +00:00
|
|
|
description:
|
2018-04-12 14:18:04 +00:00
|
|
|
- The username of the vSphere vCenter or ESXi server.
|
2018-03-21 17:31:24 +00:00
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_USER) will be used instead.
|
|
|
|
- Environment variable supported added in version 2.6.
|
2018-07-09 09:27:06 +00:00
|
|
|
type: str
|
|
|
|
aliases: [ admin, user ]
|
2016-01-12 17:06:22 +00:00
|
|
|
password:
|
2018-03-21 17:31:24 +00:00
|
|
|
description:
|
2018-04-12 14:18:04 +00:00
|
|
|
- The password of the vSphere vCenter or ESXi server.
|
2018-03-21 17:31:24 +00:00
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_PASSWORD) will be used instead.
|
|
|
|
- Environment variable supported added in version 2.6.
|
2018-07-09 09:27:06 +00:00
|
|
|
type: str
|
|
|
|
aliases: [ pass, pwd ]
|
2016-10-14 14:13:15 +00:00
|
|
|
validate_certs:
|
2018-03-21 17:31:24 +00:00
|
|
|
description:
|
|
|
|
- Allows connection when SSL certificates are not valid. Set to C(false) when certificates are not trusted.
|
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_VALIDATE_CERTS) will be used instead.
|
|
|
|
- Environment variable supported added in version 2.6.
|
2018-07-09 09:27:06 +00:00
|
|
|
- If set to C(yes), please make sure Python >= 2.7.9 is installed on the given machine.
|
2018-03-21 17:31:24 +00:00
|
|
|
type: bool
|
2018-07-09 09:27:06 +00:00
|
|
|
default: 'yes'
|
2017-12-20 06:23:22 +00:00
|
|
|
port:
|
2018-03-21 17:31:24 +00:00
|
|
|
description:
|
|
|
|
- The port number of the vSphere vCenter or ESXi server.
|
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_PORT) will be used instead.
|
|
|
|
- Environment variable supported added in version 2.6.
|
2018-07-09 09:27:06 +00:00
|
|
|
type: int
|
2018-03-21 17:31:24 +00:00
|
|
|
default: 443
|
|
|
|
version_added: 2.5
|
2016-01-12 17:06:22 +00:00
|
|
|
'''
|