Skip to content

Commit 993e3a7

Browse files
russozfelixfontein
andauthored
ipa_*: add common connection notes to modules (#10615)
* ipa_*: add common connection notes to modules * Update plugins/doc_fragments/ipa.py Co-authored-by: Felix Fontein <[email protected]> * Update plugins/doc_fragments/ipa.py Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]>
1 parent 92ca379 commit 993e3a7

19 files changed

+26
-0
lines changed

plugins/doc_fragments/ipa.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@ class ModuleDocFragment(object):
7474
type: int
7575
default: 10
7676
"""
77+
78+
CONNECTION_NOTES = r"""
79+
options: {}
80+
notes:
81+
- This module uses JSON-RPC over HTTP(S) to communicate with the FreeIPA server.
82+
If you need to enroll the managed node into FreeIPA realm, you might want to consider using the collection
83+
L(freeipa.ansible_freeipa, https://galaxy.ansible.com/ui/repo/published/freeipa/ansible_freeipa/), but that will require shell access to the managed node.
84+
"""

plugins/modules/ipa_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
version_added: '2.5.0'
114114
extends_documentation_fragment:
115115
- community.general.ipa.documentation
116+
- community.general.ipa.connection_notes
116117
- community.general.attributes
117118
"""
118119

plugins/modules/ipa_dnsrecord.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
type: str
8787
extends_documentation_fragment:
8888
- community.general.ipa.documentation
89+
- community.general.ipa.connection_notes
8990
- community.general.attributes
9091
"""
9192

plugins/modules/ipa_dnszone.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
version_added: 4.3.0
4343
extends_documentation_fragment:
4444
- community.general.ipa.documentation
45+
- community.general.ipa.connection_notes
4546
- community.general.attributes
4647
"""
4748

plugins/modules/ipa_group.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
type: str
8888
extends_documentation_fragment:
8989
- community.general.ipa.documentation
90+
- community.general.ipa.connection_notes
9091
- community.general.attributes
9192
"""
9293

plugins/modules/ipa_hbacrule.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
elements: str
110110
extends_documentation_fragment:
111111
- community.general.ipa.documentation
112+
- community.general.ipa.connection_notes
112113
- community.general.attributes
113114
"""
114115

plugins/modules/ipa_host.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
type: bool
9595
extends_documentation_fragment:
9696
- community.general.ipa.documentation
97+
- community.general.ipa.connection_notes
9798
- community.general.attributes
9899
"""
99100

plugins/modules/ipa_hostgroup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
type: str
6464
extends_documentation_fragment:
6565
- community.general.ipa.documentation
66+
- community.general.ipa.connection_notes
6667
- community.general.attributes
6768
"""
6869

plugins/modules/ipa_otpconfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
type: int
4040
extends_documentation_fragment:
4141
- community.general.ipa.documentation
42+
- community.general.ipa.connection_notes
4243
- community.general.attributes
4344
"""
4445

plugins/modules/ipa_otptoken.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
type: int
106106
extends_documentation_fragment:
107107
- community.general.ipa.documentation
108+
- community.general.ipa.connection_notes
108109
- community.general.attributes
109110
"""
110111

0 commit comments

Comments
 (0)