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:
parent
3f61470543
commit
aba27836bb
1 changed files with 2 additions and 2 deletions
4
runrole
4
runrole
|
@ -5,8 +5,8 @@ PLAYBOOK="run-one-role.yml"
|
||||||
ARGS=""
|
ARGS=""
|
||||||
CWD=`pwd`
|
CWD=`pwd`
|
||||||
|
|
||||||
if [ $# -eq 2 ]; then
|
if [ $# -eq 3 ]; then
|
||||||
export ANSIBLE_LOG_PATH="$2"
|
export ANSIBLE_LOG_PATH="$3"
|
||||||
else
|
else
|
||||||
export ANSIBLE_LOG_PATH="$CWD/iiab-debug.log"
|
export ANSIBLE_LOG_PATH="$CWD/iiab-debug.log"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue