From 37fddc61d8b549f832870783007a2a07e9e48cf9 Mon Sep 17 00:00:00 2001 From: Christoph <43646576+z-bsod@users.noreply.github.com> Date: Thu, 10 Nov 2022 20:25:56 +0100 Subject: [PATCH] openssl_privatekey: fix example for cipher (#527) the cipher parameter required for encrypted private keys only accepts the value "auto" as described in /plugins/doc_fragments/module_privatekey.py. The previously documented value of "aes256" is invalid here. --- plugins/modules/openssl_privatekey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/openssl_privatekey.py b/plugins/modules/openssl_privatekey.py index ae9604da..7b50caff 100644 --- a/plugins/modules/openssl_privatekey.py +++ b/plugins/modules/openssl_privatekey.py @@ -85,7 +85,7 @@ EXAMPLES = r''' community.crypto.openssl_privatekey: path: /etc/ssl/private/ansible.com.pem passphrase: ansible - cipher: aes256 + cipher: auto - name: Generate an OpenSSL private key with a different size (2048 bits) community.crypto.openssl_privatekey: