From 1b9674d3eadb9b9cf157b076103c18aac014f9e6 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 2 Apr 2021 17:43:12 -0700 Subject: [PATCH] add pipefail --- ansible/playbooks/tasks/mantis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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