Debian Codegraph @

ansible_collections/community/hrobot/plugins/doc_fragments/robot.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Felix Fontein <[email protected]>
4 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
5 # SPDX-License-Identifier: GPL-3.0-or-later
6
7 from __future__ import (absolute_import, division, print_function)
8 __metaclass__ = type
9
10
11 class ModuleDocFragment(object):
12
13 # Standard files documentation fragment
14 DOCUMENTATION = r"""
15 options:
16 hetzner_user:
17 description:
18 - The username for the Robot web-service user.
19 type: str
20 required: true
21 hetzner_password:
22 description:
23 - The password for the Robot web-service user.
24 type: str
25 required: true
26 rate_limit_retry_timeout:
27 description:
28 - Timeout (in seconds) for waiting when rate limit exceeded errors are returned.
29 - Set to V(0) to not retry.
30 - Set to a negative value like V(-1) to retry forever.
31 type: int
32 default: -1
33 version_added: 2.1.0
34 """