diff --git a/ansible/janus.sh b/ansible/janus.sh index 3207fce..276b887 100755 --- a/ansible/janus.sh +++ b/ansible/janus.sh @@ -3,7 +3,7 @@ set -eo pipefail export LANG=C.UTF-8 ansible source "$(dirname $(realpath ${0}))/common.sh" -readonly PLAYS_DIR=${PLAYS_DIR:-"${WORKSPACE}/janus/playbooks"} +readonly PLAYS_DIR=${PLAYS_DIR:-"${WORKSPACE}/${WORKDIR}/janus/playbooks"} checkWorkdirExistsAndSetAsDefault