Skip to content

Commit

Permalink
Consistent with other shell executions, fix to use {{openssl_bin}} an…
Browse files Browse the repository at this point in the history
…d pipefile option in the shell command for getting openssl version number (trailofbits#14558)
  • Loading branch information
ExtremeModerate committed Jul 4, 2023
1 parent 5394f06 commit 4321212
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roles/strongswan/tasks/openssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@
manager: auto

- name: Get OpenSSL version
shell: openssl version | cut -f 2 -d ' '
shell: |
set -o pipefail
{{ openssl_bin }} version |
cut -f 2 -d ' '
register: ssl_version
run_once: true

Expand Down

0 comments on commit 4321212

Please sign in to comment.