2018-12-17 16:33:40 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2018-05-07 11:00:16 +00:00
|
|
|
# Copyright: (c) 2018, Ansible Project
|
|
|
|
# Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
# Parameters for VMware REST Client based modules
|
2018-12-17 16:33:40 +00:00
|
|
|
DOCUMENTATION = r'''
|
2018-05-07 11:00:16 +00:00
|
|
|
options:
|
|
|
|
hostname:
|
|
|
|
description:
|
|
|
|
- The hostname or IP address of the vSphere vCenter server.
|
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_HOST) will be used instead.
|
2018-12-17 16:33:40 +00:00
|
|
|
type: str
|
2018-05-07 11:00:16 +00:00
|
|
|
username:
|
|
|
|
description:
|
|
|
|
- The username of the vSphere vCenter server.
|
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_USER) will be used instead.
|
2018-12-17 16:33:40 +00:00
|
|
|
type: str
|
|
|
|
aliases: [ admin, user ]
|
2018-05-07 11:00:16 +00:00
|
|
|
password:
|
|
|
|
description:
|
|
|
|
- The password of the vSphere vCenter server.
|
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_PASSWORD) will be used instead.
|
2018-12-17 16:33:40 +00:00
|
|
|
type: str
|
|
|
|
aliases: [ pass, pwd ]
|
2018-05-07 11:00:16 +00:00
|
|
|
validate_certs:
|
|
|
|
description:
|
2018-12-17 16:33:40 +00:00
|
|
|
- Allows connection when SSL certificates are not valid.
|
2019-02-15 12:21:20 +00:00
|
|
|
- Set to C(no) when certificates are not trusted.
|
2018-05-07 11:00:16 +00:00
|
|
|
- If the value is not specified in the task, the value of environment variable C(VMWARE_VALIDATE_CERTS) will be used instead.
|
|
|
|
type: bool
|
2019-02-15 12:21:20 +00:00
|
|
|
default: yes
|
2018-05-07 11:00:16 +00:00
|
|
|
protocol:
|
|
|
|
description:
|
|
|
|
- The connection to protocol.
|
2018-12-17 16:33:40 +00:00
|
|
|
type: str
|
2019-02-15 12:21:20 +00:00
|
|
|
choices: [ http, https ]
|
2018-12-17 16:33:40 +00:00
|
|
|
default: https
|
2018-05-07 11:00:16 +00:00
|
|
|
'''
|