mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
Fixed issue with getting openssl version from existing fact, get it with shell script instead. This may not work in Windows (trailofbits#14558)
This commit is contained in:
parent
8fb897d680
commit
5394f0623c
1 changed files with 6 additions and 1 deletions
|
@ -160,8 +160,13 @@
|
|||
manager: auto
|
||||
|
||||
- name: Get OpenSSL version
|
||||
shell: openssl version | cut -f 2 -d ' '
|
||||
register: ssl_version
|
||||
run_once: true
|
||||
|
||||
- name: Set OpenSSL version fact
|
||||
set_fact:
|
||||
openssl_version: "{{ ansible_facts.packages['openssl'][0]['version'] }}"
|
||||
openssl_version: "{{ ssl_version.stdout }}"
|
||||
|
||||
- name: Build the client's p12
|
||||
shell: >
|
||||
|
|
Loading…
Add table
Reference in a new issue