Skip to content

Commit 64f8b3a

Browse files
committed
Work around current problems with ansible/ansible#85760.
1 parent 6a51828 commit 64f8b3a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

plugins/doc_fragments/_module_csr.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,3 +398,11 @@ class ModuleDocFragment:
398398
elements: str
399399
sample: ['email:.com']
400400
"""
401+
402+
# Private fragment only for community.crypto.csr!
403+
_RETURN_CSR = r"""
404+
name_constraints_permitted:
405+
version_added: 1.1.0
406+
name_constraints_excluded:
407+
version_added: 1.1.0
408+
"""

plugins/modules/openssl_csr.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@
170170
returned: changed or success
171171
type: str
172172
sample: /etc/ssl/csr/www.ansible.com.csr
173-
name_constraints_permitted:
174-
version_added: 1.1.0
175-
name_constraints_excluded:
176-
version_added: 1.1.0
177173
backup_file:
178174
description: Name of backup file created.
179175
returned: changed and if O(backup) is V(true)
@@ -187,6 +183,7 @@
187183
188184
extends_documentation_fragment:
189185
- community.crypto._module_csr
186+
- community.crypto._module_csr._return_csr
190187
"""
191188

192189
import os

0 commit comments

Comments
 (0)