Debian Codegraph @

ansible_collections/community/grafana/plugins/doc_fragments/basic_auth.py

raw
1 # -*- coding: utf-8 -*-
2 # Copyright: (c) 2019, Rémi REY (@rrey)
3 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
4
5 from __future__ import absolute_import, division, print_function
6
7 __metaclass__ = type
8
9
10 class ModuleDocFragment(object):
11 DOCUMENTATION = r"""options:
12 url:
13 description:
14 - The Grafana URL.
15 required: true
16 type: str
17 aliases: [ grafana_url ]
18 url_username:
19 description:
20 - The Grafana user for API authentication.
21 default: admin
22 type: str
23 aliases: [ grafana_user ]
24 url_password:
25 description:
26 - The Grafana password for API authentication.
27 default: admin
28 type: str
29 aliases: [ grafana_password ]
30 use_proxy:
31 description:
32 - If C(false), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
33 type: bool
34 default: true
35 client_cert:
36 description:
37 - PEM formatted certificate chain file to be used for SSL client authentication.
38 - This file can also include the key as well, and if the key is included, I(client_key) is not required
39 type: path
40 client_key:
41 description:
42 - PEM formatted file that contains your private key to be used for SSL client authentication.
43 - If I(client_cert) contains both the certificate and key, this option is not required.
44 type: path
45 validate_certs:
46 description:
47 - If C(false), SSL certificates will not be validated.
48 - This should only set to C(false) used on personally controlled sites using self-signed certificates.
49 type: bool
50 default: true
51 """