From aba27836bb7467b895a02dce3897f543808d1c43 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sat, 10 Aug 2019 16:34:29 -0500 Subject: [PATCH] custom log becomes third arguement --- runrole | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runrole b/runrole index 6d076b1be..ac8629317 100755 --- a/runrole +++ b/runrole @@ -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