Demove debug and output more clarifying logs
This commit is contained in:
parent
6eaeac0be5
commit
22e1b66b1d
@ -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 "";
|
||||
|
Reference in New Issue
Block a user