mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-06 13:22:58 +00:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user