Skip to content

Commit

Permalink
Put appropriate module attributes into doc fragments.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 29, 2024
1 parent 37af200 commit 4ce9745
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 14 deletions.
3 changes: 3 additions & 0 deletions plugins/doc_fragments/module_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class ModuleDocFragment(object):
description:
- This module allows one to (re)generate OpenSSL certificates.
- It uses the cryptography python library to interact with OpenSSL.
attributes:
diff_mode:
support: full
requirements:
- cryptography >= 1.6 (if using V(selfsigned) or V(ownca) provider)
options:
Expand Down
3 changes: 3 additions & 0 deletions plugins/doc_fragments/module_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ class ModuleDocFragment(object):
description:
- This module allows one to (re)generate OpenSSL certificate signing requests.
- This module supports the subjectAltName, keyUsage, extendedKeyUsage, basicConstraints and OCSP Must Staple extensions.
attributes:
diff_mode:
support: full
requirements:
- cryptography >= 1.3
options:
Expand Down
3 changes: 3 additions & 0 deletions plugins/doc_fragments/module_privatekey.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ class ModuleDocFragment(object):
L(ECC,https://en.wikipedia.org/wiki/Elliptic-curve_cryptography) or L(EdDSA,https://en.wikipedia.org/wiki/EdDSA) private
keys.
- Keys are generated in PEM format.
attributes:
diff_mode:
support: full
requirements:
- cryptography >= 1.2.3 (older versions might work as well)
options:
Expand Down
3 changes: 3 additions & 0 deletions plugins/doc_fragments/module_privatekey_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class ModuleDocFragment(object):
DOCUMENTATION = r"""
requirements:
- cryptography >= 1.2.3 (older versions might work as well)
attributes:
diff_mode:
support: none
options:
src_path:
description:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/openssl_csr.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
attributes:
check_mode:
support: full
diff_mode:
support: full
safe_file_operations:
support: full
options:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/openssl_csr_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
in community.crypto 3.0.0.
- From community.crypto 3.0.0 on, the module will ignore check mode and always behave as if check mode is not active.
If you think this breaks your use-case of this module, please create an issue in the community.crypto repository.
diff_mode:
support: full
options:
content:
description:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/openssl_privatekey.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
attributes:
check_mode:
support: full
diff_mode:
support: full
safe_file_operations:
support: full
options:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/openssl_privatekey_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
attributes:
check_mode:
support: full
diff_mode:
support: none
safe_file_operations:
support: full
options:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/openssl_privatekey_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
in community.crypto 3.0.0.
- From community.crypto 3.0.0 on, the module will ignore check mode and always behave as if check mode is not active.
If you think this breaks your use-case of this module, please create an issue in the community.crypto repository.
diff_mode:
support: full
options:
content:
description:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/x509_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
attributes:
check_mode:
support: full
diff_mode:
support: full
safe_file_operations:
support: full
options:
Expand Down
2 changes: 0 additions & 2 deletions plugins/modules/x509_certificate_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
in community.crypto 3.0.0.
- From community.crypto 3.0.0 on, the module will ignore check mode and always behave as if check mode is not active.
If you think this breaks your use-case of this module, please create an issue in the community.crypto repository.
diff_mode:
support: full
options:
provider:
description:
Expand Down

0 comments on commit 4ce9745

Please sign in to comment.