diff options
Diffstat (limited to 'playbook.yaml')
-rw-r--r-- | playbook.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/playbook.yaml b/playbook.yaml index 45e7ac0..5399fd2 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -54,9 +54,10 @@ - name: Retrieve DANE hash ansible.builtin.shell: cmd: > - openssl x509 -in ~/.lego/certificates/{{ virtual_host }}.crt -noout - -pubkey | openssl pkey -pubin -outform DER | openssl dgst -sha256 - -binary | hexdump -ve '/1 "%02x"' + set -o pipefail && openssl x509 -in + ~/.lego/certificates/{{ virtual_host }}.crt -noout -pubkey | openssl + pkey -pubin -outform DER | openssl dgst -sha256 -binary | hexdump -ve + '/1 "%02x"' register: dane_hash changed_when: false delegate_to: localhost |