add pipefail

This commit is contained in:
nazunalika 2021-04-02 17:43:12 -07:00
parent 33d513abdb
commit 1b9674d3ea
Signed by: label
GPG Key ID: CB6D9706D138D190

View File

@ -33,7 +33,7 @@
remote_src: true
- name: Generate crypto salt
shell: "cat /dev/urandom | head -c 64 | base64 --wrap=0"
shell: "set -o pipefail && cat /dev/urandom | head -c 64 | base64 --wrap=0"
changed_when: "1 != 1"
register: cryptosalt_string