diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:35 +0000 |
commit | 7fec0b69a082aaeec72fee0612766aa42f6b1b4d (patch) | |
tree | efb569b86ca4da888717f5433e757145fa322e08 /ansible_collections/community/crypto/plugins/action | |
parent | Releasing progress-linux version 7.7.0+dfsg-3~progress7.99u1. (diff) | |
download | ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.tar.xz ansible-7fec0b69a082aaeec72fee0612766aa42f6b1b4d.zip |
Merging upstream version 9.4.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/crypto/plugins/action')
-rw-r--r-- | ansible_collections/community/crypto/plugins/action/openssl_privatekey_pipe.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ansible_collections/community/crypto/plugins/action/openssl_privatekey_pipe.py b/ansible_collections/community/crypto/plugins/action/openssl_privatekey_pipe.py index dc1a16979..dc864ab01 100644 --- a/ansible_collections/community/crypto/plugins/action/openssl_privatekey_pipe.py +++ b/ansible_collections/community/crypto/plugins/action/openssl_privatekey_pipe.py @@ -51,6 +51,16 @@ class PrivateKeyModule(object): self.module_backend.generate_private_key() privatekey_data = self.module_backend.get_private_key_data() self.privatekey_bytes = privatekey_data + else: + self.module.deprecate( + 'Check mode support for openssl_privatekey_pipe will change in community.crypto 3.0.0' + ' to behave the same as without check mode. You can get that behavior right now' + ' by adding `check_mode: false` to the openssl_privatekey_pipe task. If you think this' + ' breaks your use-case of this module, please create an issue in the' + ' community.crypto repository', + version='3.0.0', + collection_name='community.crypto', + ) self.changed = True elif self.module_backend.needs_conversion(): # Convert @@ -58,6 +68,16 @@ class PrivateKeyModule(object): self.module_backend.convert_private_key() privatekey_data = self.module_backend.get_private_key_data() self.privatekey_bytes = privatekey_data + else: + self.module.deprecate( + 'Check mode support for openssl_privatekey_pipe will change in community.crypto 3.0.0' + ' to behave the same as without check mode. You can get that behavior right now' + ' by adding `check_mode: false` to the openssl_privatekey_pipe task. If you think this' + ' breaks your use-case of this module, please create an issue in the' + ' community.crypto repository', + version='3.0.0', + collection_name='community.crypto', + ) self.changed = True def dump(self): |