Pass in missing var
This commit is contained in:
parent
2cfe5f0cde
commit
9b75b3e068
@ -144,6 +144,7 @@ dokku-ansible-deploy-pre-deploy() {
|
||||
|
||||
declare APP="$1"
|
||||
declare APP_DIR="$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||
declare PLUGIN_DIR="$DOKKU_LIB_ROOT/data/deploy.d"
|
||||
declare VAULT_FILE="$APP_DIR/.vault.sh"
|
||||
declare PRE_DEPLOY="$PLUGIN_AVAILABLE_PATH/ansible-deploy/plays/pre_deploy.yml"
|
||||
|
||||
@ -164,6 +165,7 @@ dokku-ansible-deploy-pre-deploy() {
|
||||
--extra-vars "app=$APP" \
|
||||
--extra-vars "dokku_lib_root=$DOKKU_LIB_ROOT" \
|
||||
--extra-vars "app_config_root=$APP_DIR" \
|
||||
--extra-vars "plugin_config_root=$PLUGIN_DIR" \
|
||||
$CMD_ARGS \
|
||||
$PRE_DEPLOY
|
||||
}
|
||||
@ -176,6 +178,7 @@ dokku-ansible-deploy-post-deploy() {
|
||||
|
||||
declare APP="$1"
|
||||
declare APP_DIR="$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||
declare PLUGIN_DIR="$DOKKU_LIB_ROOT/data/deploy.d"
|
||||
declare VAULT_FILE="$APP_DIR/.vault.sh"
|
||||
declare POST_DEPLOY="$PLUGIN_AVAILABLE_PATH/ansible-deploy/plays/post_deploy.yml"
|
||||
|
||||
@ -196,6 +199,7 @@ dokku-ansible-deploy-post-deploy() {
|
||||
--extra-vars "app=$APP" \
|
||||
--extra-vars "dokku_lib_root=$DOKKU_LIB_ROOT" \
|
||||
--extra-vars "app_config_root=$APP_DIR" \
|
||||
--extra-vars "plugin_config_root=$PLUGIN_DIR" \
|
||||
$CMD_ARGS \
|
||||
$POST_DEPLOY
|
||||
}
|
||||
@ -208,6 +212,7 @@ dokku-ansible-deploy-post-delete() {
|
||||
|
||||
declare APP="$1"
|
||||
declare APP_DIR="$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||
declare PLUGIN_DIR="$DOKKU_LIB_ROOT/data/deploy.d"
|
||||
declare VAULT_FILE="$APP_DIR/.vault.sh"
|
||||
declare POST_DELETE="$PLUGIN_AVAILABLE_PATH/ansible-deploy/plays/post_delete.yml"
|
||||
|
||||
@ -228,6 +233,7 @@ dokku-ansible-deploy-post-delete() {
|
||||
--extra-vars "app=$APP" \
|
||||
--extra-vars "dokku_lib_root=$DOKKU_LIB_ROOT" \
|
||||
--extra-vars "app_config_root=$APP_DIR" \
|
||||
--extra-vars "plugin_config_root=$PLUGIN_DIR" \
|
||||
$CMD_ARGS \
|
||||
$POST_DELETE
|
||||
}
|
||||
|
Reference in New Issue
Block a user