mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
12 lines
296 B
YAML
12 lines
296 B
YAML
|
- name: Generate privatekey
|
||
|
openssl_privatekey:
|
||
|
path: '{{ output_dir }}/privatekey.pem'
|
||
|
|
||
|
- name: Generate CSR
|
||
|
openssl_csr:
|
||
|
path: '{{ output_dir }}/csr.csr'
|
||
|
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
||
|
commonName: 'www.ansible.com'
|
||
|
|
||
|
- import_tasks: ../tests/validate.yml
|