Reverse check and output for debug
This commit is contained in:
parent
639aa31da3
commit
6eaeac0be5
@ -18,11 +18,12 @@ dokku-ansible-deploy-vault-pass-cmd() {
|
||||
#shellcheck disable=SC2034
|
||||
declare desc="add new app vault password for decryption of passwords"
|
||||
|
||||
local app="$2"
|
||||
local vault_file="$DOKKU_LIB_ROOT/data/deploy.d/$app/.vault-password.sh"
|
||||
|
||||
local app="$2"
|
||||
dokku_col_log_info1_quiet "$app"
|
||||
|
||||
if [[ -n "$app" ]]; then
|
||||
if [[ ! -n "$app" ]]; then
|
||||
dokku_col_log_info1_quiet "missing application name, try 'dokku ansible-deploy:vault-pass myappname'"
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user