Redirects stderr to stdout in bootstrap script so all logs are output to

logfile
This commit is contained in:
Ben Partridge
2019-06-04 11:08:28 +10:00
parent 1f75c1956b
commit 6d00d3827e

View File

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