Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 8ab1b7d

Browse files
committed
fix missing doc_fragments
1 parent 543e4bb commit 8ab1b7d

File tree

4 files changed

+58
-2
lines changed

4 files changed

+58
-2
lines changed

plugins/doc_fragments/__init__.py

Whitespace-only changes.

plugins/doc_fragments/exoscale.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Copyright: (c) 2017, René Moser <mail@renemoser.net>
4+
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5+
6+
from __future__ import absolute_import, division, print_function
7+
__metaclass__ = type
8+
9+
10+
class ModuleDocFragment(object):
11+
12+
# Standard exoscale documentation fragment
13+
DOCUMENTATION = r'''
14+
options:
15+
api_key:
16+
description:
17+
- API key of the Exoscale DNS API.
18+
- The ENV variable C(CLOUDSTACK_KEY) is used as default, when defined.
19+
type: str
20+
api_secret:
21+
description:
22+
- Secret key of the Exoscale DNS API.
23+
- The ENV variable C(CLOUDSTACK_SECRET) is used as default, when defined.
24+
type: str
25+
api_timeout:
26+
description:
27+
- HTTP timeout to Exoscale DNS API.
28+
- The ENV variable C(CLOUDSTACK_TIMEOUT) is used as default, when defined.
29+
type: int
30+
default: 10
31+
api_region:
32+
description:
33+
- Name of the ini section in the C(cloustack.ini) file.
34+
- The ENV variable C(CLOUDSTACK_REGION) is used as default, when defined.
35+
type: str
36+
default: cloudstack
37+
validate_certs:
38+
description:
39+
- Validate SSL certs of the Exoscale DNS API.
40+
type: bool
41+
default: yes
42+
requirements:
43+
- python >= 2.6
44+
notes:
45+
- As Exoscale DNS uses the same API key and secret for all services, we reuse the config used for Exscale Compute based on CloudStack.
46+
The config is read from several locations, in the following order.
47+
The C(CLOUDSTACK_KEY), C(CLOUDSTACK_SECRET) environment variables.
48+
A C(CLOUDSTACK_CONFIG) environment variable pointing to an C(.ini) file,
49+
A C(cloudstack.ini) file in the current working directory.
50+
A C(.cloudstack.ini) file in the users home directory.
51+
Optionally multiple credentials and endpoints can be specified using ini sections in C(cloudstack.ini).
52+
Use the argument C(api_region) to select the section name, default section is C(cloudstack).
53+
- This module does not support multiple A records and will complain properly if you try.
54+
- More information Exoscale DNS can be found on https://community.exoscale.ch/documentation/dns/.
55+
- This module supports check mode and diff.
56+
'''

plugins/modules/exo_dns_domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
default: present
2929
choices: [ present, absent ]
3030
type: str
31-
extends_documentation_fragment: exoscale
31+
extends_documentation_fragment: ngine_io.exoscale.exoscale
3232
'''
3333

3434
EXAMPLES = '''

plugins/modules/exo_dns_record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
default: present
6464
choices: [ present, absent ]
6565
type: str
66-
extends_documentation_fragment: exoscale
66+
extends_documentation_fragment: ngine_io.exoscale.exoscale
6767
'''
6868

6969
EXAMPLES = '''

0 commit comments

Comments
 (0)