Demove debug and output more clarifying logs

This commit is contained in:
Luke Murphy 2020-04-07 17:05:33 +02:00
parent 6eaeac0be5
commit 22e1b66b1d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 3 deletions

View File

@ -21,10 +21,8 @@ dokku-ansible-deploy-vault-pass-cmd() {
local app="$2"
local vault_file="$DOKKU_LIB_ROOT/data/deploy.d/$app/.vault-password.sh"
dokku_col_log_info1_quiet "$app"
if [[ ! -n "$app" ]]; then
dokku_col_log_info1_quiet "missing application name, try 'dokku ansible-deploy:vault-pass myappname'"
dokku_col_log_info1_quiet "missing app name, try 'dokku ansible-deploy:vault-pass myappname'"
exit 1
fi
@ -38,6 +36,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$app" ]]; then
mkdir -p "$DOKKU_LIB_ROOT/data/deploy.d/$app"
fi
dokku_col_log_info1_quiet "Created $DOKKU_LIB_ROOT/data/deploy.d/$app"
{ echo "#!/bin/bash";
echo "";