Debian Codegraph @

ansible_collections/community/general/plugins/doc_fragments/_xenserver.py

raw
1 # Copyright (c) 2018, Bojan Vitnik <[email protected]>
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4
5 # Note that this doc fragment is **PRIVATE** to the collection. It can have breaking changes at any time.
6 # Do not use this from other collections or standalone plugins/modules!
7
8 from __future__ import annotations
9
10
11 class ModuleDocFragment:
12 # Common parameters for XenServer modules
13 DOCUMENTATION = r"""
14 options:
15 hostname:
16 description:
17 - The hostname or IP address of the XenServer host or XenServer pool master.
18 - If the value is not specified in the task, the value of environment variable E(XENSERVER_HOST) is used instead.
19 type: str
20 default: localhost
21 aliases: [host, pool]
22 username:
23 description:
24 - The username to use for connecting to XenServer.
25 - If the value is not specified in the task, the value of environment variable E(XENSERVER_USER) is used instead.
26 type: str
27 default: root
28 aliases: [admin, user]
29 password:
30 description:
31 - The password to use for connecting to XenServer.
32 - If the value is not specified in the task, the value of environment variable E(XENSERVER_PASSWORD) is used instead.
33 type: str
34 aliases: [pass, pwd]
35 validate_certs:
36 description:
37 - Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted.
38 - If the value is not specified in the task, the value of environment variable E(XENSERVER_VALIDATE_CERTS) is used instead.
39 type: bool
40 default: true
41 """