From 6d00d3827eb95fee777a785cf74add7e62c8a973 Mon Sep 17 00:00:00 2001 From: Ben Partridge Date: Tue, 4 Jun 2019 11:08:28 +1000 Subject: [PATCH] Redirects stderr to stdout in bootstrap script so all logs are output to logfile --- bin/ansible-with-atl-env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ansible-with-atl-env b/bin/ansible-with-atl-env index 3833140..c58cd46 100755 --- a/bin/ansible-with-atl-env +++ b/bin/ansible-with-atl-env @@ -18,4 +18,4 @@ if [[ -f .venv/bin/ansible ]]; then source .venv/bin/activate fi -ansible-playbook -v -i $INV $PLAYBOOK | tee --append $LOG_FILE +ansible-playbook -v -i $INV $PLAYBOOK 2>&1 | tee --append $LOG_FILE