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=""
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue