mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-06 13:22:58 +00:00
Add 'idempotent' attribute (#833)
* Add 'idempotent' attribute. * Mention check mode in attribute description. Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> --------- Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -43,6 +43,10 @@ attributes:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- If O(state=changed_key) is used, the module is not idempotent.
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
||||
@@ -26,6 +26,7 @@ extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.actiongroup_acme
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
retrieve_orders:
|
||||
description:
|
||||
|
||||
@@ -24,6 +24,7 @@ extends_documentation_fragment:
|
||||
- community.crypto.acme.no_account
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
certificate_path:
|
||||
description:
|
||||
|
||||
@@ -81,6 +81,12 @@ attributes:
|
||||
support: none
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- If O(force=true), the module is not idempotent.
|
||||
If O(force=false), it depends on the certificate's validity period and the value of O(remaining_days).
|
||||
- The second phase invocation of the module is always idempotent, assuming no error occurs.
|
||||
options:
|
||||
account_email:
|
||||
description:
|
||||
|
||||
@@ -33,6 +33,8 @@ attributes:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
idempotent:
|
||||
support: full
|
||||
options:
|
||||
order_uri:
|
||||
description:
|
||||
|
||||
@@ -23,6 +23,7 @@ extends_documentation_fragment:
|
||||
- community.crypto.acme.no_account
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
certificate_path:
|
||||
description:
|
||||
|
||||
@@ -41,6 +41,8 @@ attributes:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
idempotent:
|
||||
support: full
|
||||
options:
|
||||
certificate:
|
||||
description:
|
||||
|
||||
@@ -37,6 +37,11 @@ attributes:
|
||||
support: N/A
|
||||
details:
|
||||
- This action does not modify state.
|
||||
idempotent:
|
||||
support: none
|
||||
details:
|
||||
- The certificates returned are never the same, since the Not Before and Not After timestamps
|
||||
depend on the invocation's timestamp.
|
||||
options:
|
||||
challenge:
|
||||
description:
|
||||
|
||||
@@ -44,6 +44,8 @@ attributes:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
idempotent:
|
||||
support: none
|
||||
options:
|
||||
url:
|
||||
description:
|
||||
|
||||
@@ -24,6 +24,7 @@ requirements:
|
||||
- "cryptography >= 1.5"
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
attributes:
|
||||
check_mode:
|
||||
support: full
|
||||
|
||||
@@ -21,6 +21,7 @@ description:
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options: {}
|
||||
"""
|
||||
|
||||
|
||||
@@ -37,6 +37,13 @@ attributes:
|
||||
support: none
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true).
|
||||
- Under which conditions the module is idempotent still needs to be determined.
|
||||
If you are using this module and have more information, please contribute to
|
||||
the documentation!
|
||||
options:
|
||||
backup:
|
||||
description:
|
||||
|
||||
@@ -44,6 +44,12 @@ attributes:
|
||||
support: none
|
||||
diff_mode:
|
||||
support: none
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- Under which conditions the module is idempotent still needs to be determined.
|
||||
If you are using this module and have more information, please contribute to
|
||||
the documentation!
|
||||
options:
|
||||
client_id:
|
||||
description:
|
||||
|
||||
@@ -20,6 +20,7 @@ description:
|
||||
newer.
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
attributes:
|
||||
check_mode:
|
||||
support: none
|
||||
|
||||
@@ -23,6 +23,8 @@ attributes:
|
||||
support: full
|
||||
diff_mode:
|
||||
support: none
|
||||
idempotent:
|
||||
support: full
|
||||
|
||||
options:
|
||||
device:
|
||||
|
||||
@@ -28,6 +28,11 @@ attributes:
|
||||
support: full
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true) or O(regenerate=always).
|
||||
- If relative timestamps are used and O(ignore_timestamps=false) (default), the module is not idempotent.
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
||||
@@ -30,6 +30,10 @@ attributes:
|
||||
support: full
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true) or O(regenerate=always).
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
||||
@@ -26,6 +26,7 @@ extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.name_encoding
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
path:
|
||||
description:
|
||||
|
||||
@@ -35,6 +35,10 @@ attributes:
|
||||
support: none
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true).
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
||||
@@ -32,6 +32,10 @@ attributes:
|
||||
support: none
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true).
|
||||
options:
|
||||
action:
|
||||
description:
|
||||
|
||||
@@ -27,6 +27,7 @@ author:
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
path:
|
||||
description:
|
||||
|
||||
@@ -34,6 +34,10 @@ attributes:
|
||||
support: full
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true).
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
||||
@@ -23,6 +23,7 @@ author:
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
path:
|
||||
description:
|
||||
|
||||
@@ -30,6 +30,11 @@ attributes:
|
||||
- This action does not modify state.
|
||||
diff_mode:
|
||||
support: none
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- Signature algorithms are generally not deterministic. Thus the generated signature
|
||||
can change from one invocation to the next.
|
||||
options:
|
||||
privatekey_path:
|
||||
description:
|
||||
|
||||
@@ -24,6 +24,7 @@ author:
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
options:
|
||||
path:
|
||||
description:
|
||||
|
||||
@@ -28,6 +28,8 @@ attributes:
|
||||
support: none
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: full
|
||||
options:
|
||||
src_path:
|
||||
description:
|
||||
|
||||
@@ -31,6 +31,7 @@ author:
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
- community.crypto.name_encoding
|
||||
options:
|
||||
path:
|
||||
|
||||
@@ -33,6 +33,11 @@ attributes:
|
||||
support: full
|
||||
safe_file_operations:
|
||||
support: full
|
||||
idempotent:
|
||||
support: partial
|
||||
details:
|
||||
- The module is not idempotent if O(force=true).
|
||||
- If relative timestamps and O(ignore_timestamps=false) (default), the module is not idempotent.
|
||||
options:
|
||||
state:
|
||||
description:
|
||||
|
||||
@@ -22,6 +22,7 @@ author:
|
||||
extends_documentation_fragment:
|
||||
- community.crypto.attributes
|
||||
- community.crypto.attributes.info_module
|
||||
- community.crypto.attributes.idempotent_not_modify_state
|
||||
- community.crypto.name_encoding
|
||||
options:
|
||||
path:
|
||||
|
||||
Reference in New Issue
Block a user