2018-05-25 05:55:24 +00:00
|
|
|
---
|
|
|
|
- block:
|
2018-08-12 17:12:01 +00:00
|
|
|
- name: Running tests with OpenSSL backend
|
|
|
|
include_tasks: impl.yml
|
|
|
|
vars:
|
|
|
|
select_crypto_backend: openssl
|
2018-05-25 05:55:24 +00:00
|
|
|
|
2018-08-12 17:12:01 +00:00
|
|
|
- import_tasks: ../tests/validate.yml
|
2018-07-30 18:10:17 +00:00
|
|
|
|
2018-08-12 17:12:01 +00:00
|
|
|
# Old 0.9.8 versions have insufficient CLI support for signing with EC keys
|
|
|
|
when: openssl_version.stdout is version('1.0.0', '>=')
|
2018-05-25 05:55:24 +00:00
|
|
|
|
2018-08-12 17:12:01 +00:00
|
|
|
- name: Remove output directory
|
|
|
|
file:
|
|
|
|
path: "{{ output_dir }}"
|
|
|
|
state: absent
|
2018-05-25 05:55:24 +00:00
|
|
|
|
2018-08-12 17:12:01 +00:00
|
|
|
- name: Re-create output directory
|
|
|
|
file:
|
|
|
|
path: "{{ output_dir }}"
|
|
|
|
state: directory
|
2018-05-25 05:55:24 +00:00
|
|
|
|
2018-08-12 17:12:01 +00:00
|
|
|
- block:
|
|
|
|
- name: Running tests with cryptography backend
|
|
|
|
include_tasks: impl.yml
|
|
|
|
vars:
|
|
|
|
select_crypto_backend: cryptography
|
2018-05-25 05:55:24 +00:00
|
|
|
|
2018-08-01 07:57:06 +00:00
|
|
|
- import_tasks: ../tests/validate.yml
|
|
|
|
|
2018-08-12 17:12:01 +00:00
|
|
|
when: cryptography_version.stdout is version('1.5', '>=')
|