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