Fix provision.sh
This commit is contained in:
parent
55b5df389a
commit
d9df3d0354
|
@ -18,7 +18,9 @@ install_modules() {
|
|||
fi
|
||||
}
|
||||
|
||||
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass"
|
||||
cd "$(dirname "$0")" || exit 255
|
||||
|
||||
if [ "$1" = "--dry" ]; then
|
||||
EXEC="echo"
|
||||
shift
|
||||
|
@ -26,9 +28,10 @@ else
|
|||
EXEC="eval"
|
||||
fi
|
||||
|
||||
BASE_CMD="ansible-playbook playbook.yml --ask-vault-pass --ask-become-pass"
|
||||
TAG="$1"
|
||||
shift
|
||||
if [ "$#" -gt 0 ]; then
|
||||
TAG="$1"
|
||||
shift
|
||||
fi
|
||||
|
||||
case $TAG in
|
||||
"")
|
||||
|
|
Reference in a new issue