Add docker target to provision.sh

This commit is contained in:
Sam A. 2023-01-14 19:29:21 +01:00
parent 0ad3425a45
commit 877ce5d62c
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -20,28 +20,26 @@ if [ -z "$1" ]; then
else
case $1 in
os)
$BASE_CMD --tags os
;;
$BASE_CMD --tags os ;;
docker)
$BASE_CMD --tags docker ;;
services)
if [ -z "$2" ]; then
$BASE_CMD --tags services
else
$BASE_CMD --tags services --extra-vars "single_service=$2"
fi
;;
;;
reboot)
if [ "$2" = "-f" ] || [ "$2" = "--force" ]; then
$BASE_CMD --tags reboot --extra-vars "force_reboot=true"
else
$BASE_CMD --tags reboot
fi
;;
;;
-h|--help)
usage
;;
usage ;;
*)
usage >&2
exit 1
;;
usage >&2; exit 1 ;;
esac
fi