2018-05-25 07:55:24 +02:00
|
|
|
---
|
|
|
|
- block:
|
2018-08-12 19:12:01 +02:00
|
|
|
- name: Running tests with OpenSSL backend
|
|
|
|
include_tasks: impl.yml
|
|
|
|
vars:
|
|
|
|
select_crypto_backend: openssl
|
2018-05-25 07:55:24 +02:00
|
|
|
|
2018-08-12 19:12:01 +02:00
|
|
|
- import_tasks: ../tests/validate.yml
|
2018-07-30 20:10:17 +02:00
|
|
|
|
2018-08-12 19:12:01 +02: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 07:55:24 +02:00
|
|
|
|
2018-08-12 19:12:01 +02:00
|
|
|
- name: Remove output directory
|
|
|
|
file:
|
|
|
|
path: "{{ output_dir }}"
|
|
|
|
state: absent
|
2018-05-25 07:55:24 +02:00
|
|
|
|
2018-08-12 19:12:01 +02:00
|
|
|
- name: Re-create output directory
|
|
|
|
file:
|
|
|
|
path: "{{ output_dir }}"
|
|
|
|
state: directory
|
2018-05-25 07:55:24 +02:00
|
|
|
|
2018-08-12 19:12:01 +02:00
|
|
|
- block:
|
|
|
|
- name: Running tests with cryptography backend
|
|
|
|
include_tasks: impl.yml
|
|
|
|
vars:
|
|
|
|
select_crypto_backend: cryptography
|
2018-05-25 07:55:24 +02:00
|
|
|
|
2018-08-01 09:57:06 +02:00
|
|
|
- import_tasks: ../tests/validate.yml
|
|
|
|
|
2018-08-12 19:12:01 +02:00
|
|
|
when: cryptography_version.stdout is version('1.5', '>=')
|