Debian Codegraph @

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

raw
1 # Copyright (c) 2020 FERREIRA Christophe <[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 # Standard files documentation fragment
13 DOCUMENTATION = r"""
14 options:
15 host:
16 description:
17 - FQDN of Nomad server.
18 required: true
19 type: str
20 port:
21 description:
22 - Port of Nomad server.
23 type: int
24 default: 4646
25 version_added: 8.0.0
26 use_ssl:
27 description:
28 - Use TLS/SSL connection.
29 type: bool
30 default: true
31 timeout:
32 description:
33 - Timeout (in seconds) for the request to Nomad.
34 type: int
35 default: 5
36 validate_certs:
37 description:
38 - Enable TLS/SSL certificate validation.
39 type: bool
40 default: true
41 client_cert:
42 description:
43 - Path of certificate for TLS/SSL.
44 type: path
45 client_key:
46 description:
47 - Path of certificate's private key for TLS/SSL.
48 type: path
49 namespace:
50 description:
51 - Namespace for Nomad.
52 type: str
53 token:
54 description:
55 - ACL token for authentication.
56 type: str
57 """