Fix env var

This commit is contained in:
Luke Murphy 2020-03-22 01:58:04 +01:00
parent 59d17b87ab
commit 1fba4d6deb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -14,7 +14,7 @@ dokku-ansible-playbook-run() {
local app="$1"
local play_path="$2"
local requirements="$3"
local vault_file="$DOKKU_LIB/ansible/.vault-pass.sh"
local vault_file="$DOKKU_LIB_ROOT/ansible/.vault-pass.sh"
dokku-ansible-playbook-validate-dependencies
@ -55,9 +55,9 @@ dokku-ansible-playbook-vault-pass-cmd() {
read -srp "Vault password: " vault_password
if [[ ! -d "$DOKKU_LIB/data/ansible" ]]; then
dokku_col_log_info1_quiet "Creating $DOKKU_LIB/data/ansible"
mkdir -p "$DOKKU_LIB/data/ansible"
if [[ ! -d "$DOKKU_LIB_ROOT/data/ansible" ]]; then
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/ansible"
mkdir -p "$DOKKU_LIB_ROOT/data/ansible"
fi
dokku_col_log_info1_quiet "Generating $vault_file"