From 611343c4bfe1c9e52d70a10d396b6e1114854000 Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Mon, 9 Nov 2026 12:52:10 +1100 Subject: [PATCH] WPTIN-23157: Propagate ansible-playbook exit code through tee in ansible-with-atl-env --- bin/ansible-with-atl-env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/ansible-with-atl-env b/bin/ansible-with-atl-env index e9e6e75..0c64485 100755 --- a/bin/ansible-with-atl-env +++ b/bin/ansible-with-atl-env @@ -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"}