Debian Codegraph @

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

raw
1 # Copyright (c) 2021, Florian Dambrine <[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 DOCUMENTATION = r"""
13 options:
14 pritunl_url:
15 type: str
16 required: true
17 description:
18 - URL and port of the Pritunl server on which the API is enabled.
19 pritunl_api_token:
20 type: str
21 required: true
22 description:
23 - API Token of a Pritunl admin user.
24 - It needs to be enabled in Administrators > USERNAME > Enable Token Authentication.
25 pritunl_api_secret:
26 type: str
27 required: true
28 description:
29 - API Secret found in Administrators > USERNAME > API Secret.
30 validate_certs:
31 type: bool
32 required: false
33 default: true
34 description:
35 - If certificates should be validated or not.
36 - This should never be set to V(false), except if you are very sure that your connection to the server can not be subject
37 to a Man In The Middle attack.
38 """