mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0a0a2e47e0
* Add openssl_csr_info module. * Make OpenSSL < 1.1 compatible. * Simply remove signature algorithm. * Adjust minimal version. * Fallback code for some pyOpenSSL < 16.0 versions.
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
---
|
|
- debug:
|
|
msg: "Executing tests with backend {{ select_crypto_backend }}"
|
|
|
|
- name: ({{select_crypto_backend}}) Get CSR info
|
|
openssl_csr_info:
|
|
path: '{{ output_dir }}/csr_1.csr'
|
|
select_crypto_backend: '{{ select_crypto_backend }}'
|
|
register: result
|
|
|
|
- name: Update result list
|
|
set_fact:
|
|
info_results: "{{ info_results + [result] }}"
|
|
|
|
- name: ({{select_crypto_backend}}) Get CSR info
|
|
openssl_csr_info:
|
|
path: '{{ output_dir }}/csr_2.csr'
|
|
select_crypto_backend: '{{ select_crypto_backend }}'
|
|
register: result
|
|
|
|
- name: Update result list
|
|
set_fact:
|
|
info_results: "{{ info_results + [result] }}"
|
|
|
|
- name: ({{select_crypto_backend}}) Get CSR info
|
|
openssl_csr_info:
|
|
path: '{{ output_dir }}/csr_3.csr'
|
|
select_crypto_backend: '{{ select_crypto_backend }}'
|
|
register: result
|
|
|
|
- name: Update result list
|
|
set_fact:
|
|
info_results: "{{ info_results + [result] }}"
|
|
|
|
- name: ({{select_crypto_backend}}) Get CSR info
|
|
openssl_csr_info:
|
|
path: '{{ output_dir }}/csr_4.csr'
|
|
select_crypto_backend: '{{ select_crypto_backend }}'
|
|
register: result
|
|
|
|
- name: Update result list
|
|
set_fact:
|
|
info_results: "{{ info_results + [result] }}"
|