1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

custom log becomes third arguement

This commit is contained in:
Jerry Vonau 2019-08-10 16:34:29 -05:00
parent 3f61470543
commit aba27836bb

View file

@ -5,8 +5,8 @@ PLAYBOOK="run-one-role.yml"
ARGS=""
CWD=`pwd`
if [ $# -eq 2 ]; then
export ANSIBLE_LOG_PATH="$2"
if [ $# -eq 3 ]; then
export ANSIBLE_LOG_PATH="$3"
else
export ANSIBLE_LOG_PATH="$CWD/iiab-debug.log"
fi