2018-12-23 09:23:31 +00:00
|
|
|
---
|
2017-09-13 21:39:32 +00:00
|
|
|
- block:
|
2019-01-14 13:33:51 +00:00
|
|
|
- name: Running tests with pyOpenSSL backend
|
|
|
|
include_tasks: impl.yml
|
|
|
|
vars:
|
|
|
|
select_crypto_backend: pyopenssl
|
2017-07-25 11:18:18 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
- import_tasks: ../tests/validate.yml
|
2019-01-03 11:34:24 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
when: pyopenssl_version.stdout is version('0.15', '>=')
|
2018-02-08 12:03:28 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
- name: Remove output directory
|
|
|
|
file:
|
|
|
|
path: "{{ output_dir }}"
|
|
|
|
state: absent
|
2018-02-08 12:03:28 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
- name: Re-create output directory
|
|
|
|
file:
|
|
|
|
path: "{{ output_dir }}"
|
|
|
|
state: directory
|
2018-12-23 09:23:31 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
- block:
|
|
|
|
- name: Running tests with cryptography backend
|
|
|
|
include_tasks: impl.yml
|
|
|
|
vars:
|
|
|
|
select_crypto_backend: cryptography
|
2018-12-23 09:23:31 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
- import_tasks: ../tests/validate.yml
|
2017-09-13 21:39:32 +00:00
|
|
|
|
2019-01-14 13:33:51 +00:00
|
|
|
when: cryptography_version.stdout is version('1.3', '>=')
|