WPTIN-23157: Propagate ansible-playbook exit code through tee in ansible-with-atl-env

This commit is contained in:
Geoff Jacobs
2026-11-09 12:52:10 +11:00
parent 53ce14be0d
commit 611343c4bf

View File

@@ -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"}