mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2026-11-27 10:50:46 -06:00
WPTIN-23157: Propagate ansible-playbook exit code through tee in ansible-with-atl-env
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
# Surface ansible-playbook failures through the tee pipe below
|
||||
set -o pipefail
|
||||
|
||||
# Optionally take an environment file on the command-line for testing.
|
||||
INV=${1:?"Inventory file must be specified"}
|
||||
|
||||
Reference in New Issue
Block a user