Debian Codegraph @

ansible_collections/community/crypto/tests/ee/roles/openssl_privatekey/tasks/main.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Create RSA private key
7 community.crypto.openssl_privatekey:
8 path: "{{ output_path }}/privatekey-1"
9 size: 2048
10
11 - name: Create ECC private key
12 community.crypto.openssl_privatekey:
13 path: "{{ output_path }}/privatekey-2"
14 type: ECC
15 curve: secp256r1