23 lines
853 B
YAML
23 lines
853 B
YAML
---
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
- name: Prepare private key for backend autodetection test
|
|
openssl_privatekey:
|
|
path: '{{ remote_tmp_dir }}/privatekey_backend_selection.pem'
|
|
size: '{{ default_rsa_key_size_certifiates }}'
|
|
- name: Run module with backend autodetection
|
|
x509_certificate_pipe:
|
|
provider: selfsigned
|
|
privatekey_path: '{{ remote_tmp_dir }}/privatekey_backend_selection.pem'
|
|
|
|
- block:
|
|
- name: Running tests with cryptography backend
|
|
include_tasks: impl.yml
|
|
vars:
|
|
select_crypto_backend: cryptography
|
|
|
|
when: cryptography_version.stdout is version('1.6', '>=')
|