Remove some redundancy.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-02-15 10:21:06 +01:00
parent e5427616dc
commit 200304dd17

View file

@ -10,10 +10,10 @@ else
"services")
if [ -z "$2" ]; then
echo "Deploying all services!"
$BASE_CMD --tags setup_services --ask-vault-pass
$BASE_CMD --tags setup_services
else
echo "Deploying services: $2"
$BASE_CMD --tags setup_services --ask-vault-pass --extra-vars "services=$2"
$BASE_CMD --tags setup_services --extra-vars "services=$2"
fi
esac
fi