mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
14 lines
387 B
YAML
14 lines
387 B
YAML
|
- block:
|
||
|
- name: Generate privatekey
|
||
|
openssl_privatekey:
|
||
|
path: '{{ output_dir }}/privatekey.pem'
|
||
|
|
||
|
- name: Generate publickey
|
||
|
openssl_publickey:
|
||
|
path: '{{ output_dir }}/publickey.pub'
|
||
|
privatekey_path: '{{ output_dir }}/privatekey.pem'
|
||
|
|
||
|
- import_tasks: ../tests/validate.yml
|
||
|
|
||
|
when: pyopenssl_version.stdout|version_compare('16.0.0', '>=')
|