Add missing "-o pipefail" to generated scripts

Since we can now configure how we want to redirect the outputs in log
files, we can use |tee or any other variant. So let's avoid masking
errors.

Change-Id: Iab6ab4e97fc30bc819f160bb6583234b318adc31
This commit is contained in:
Cédric Jeanneret 2020-07-09 14:29:03 +02:00
parent dd1595a3c6
commit 2a84c09932
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ RETURN = """
_SHELL_HEADER = """#!/bin/bash
# This file is managed by ansible
set -ex
set -xeo pipefail
"""