Debian Codegraph @

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

raw
1 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
2 # SPDX-License-Identifier: GPL-3.0-or-later
3 # SPDX-FileCopyrightText: 2026 Christoph Fiehe <[email protected]>
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 # Use together with ansible.builtin.url and icinga2_argument_spec from
13 # ansible_collections.community.general.plugins.module_utils._icinga2
14 DOCUMENTATION = r"""
15 options:
16 url:
17 description:
18 - URL of the Icinga 2 REST API.
19 type: str
20 required: true
21 ca_path:
22 description:
23 - CA certificates bundle to use to verify the Icinga 2 server certificate.
24 type: path
25 timeout:
26 description:
27 - How long to wait for the server to send data before giving up.
28 type: int
29 default: 10
30 """