Update openssl_privatekey.py (#644)

added example for ECC
pull/647/head
Kloppi313 2023-08-08 13:40:24 +02:00 committed by GitHub
parent 55c94eb5c0
commit 5526fcac27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,12 @@ EXAMPLES = r'''
community.crypto.openssl_privatekey:
path: /etc/ssl/private/ansible.com.pem
type: DSA
- name: Generate an OpenSSL private key with elliptic curve cryptography (ECC)
community.crypto.openssl_privatekey:
path: /etc/ssl/private/ansible.com.pem
type: ECC
curve: secp256r1
'''
RETURN = r'''