diff --git a/ansible/playbooks/tasks/mantis.yml b/ansible/playbooks/tasks/mantis.yml index 202b8ff..8d8730b 100644 --- a/ansible/playbooks/tasks/mantis.yml +++ b/ansible/playbooks/tasks/mantis.yml @@ -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