Reset verboseness, too noisy
This commit is contained in:
parent
5452095123
commit
66f788994c
14
functions
14
functions
@ -28,7 +28,7 @@ dokku-ansible-deploy-deploy-d-create() {
|
|||||||
|
|
||||||
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d" ]]; then
|
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d" ]]; then
|
||||||
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d"
|
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d"
|
||||||
mkdir -vp "$DOKKU_LIB_ROOT/data/deploy.d"
|
mkdir -p "$DOKKU_LIB_ROOT/data/deploy.d"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
|
|||||||
|
|
||||||
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$APP" ]]; then
|
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$APP" ]]; then
|
||||||
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||||
mkdir -vp "$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
mkdir -p "$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ echo "#!/bin/bash";
|
{ echo "#!/bin/bash";
|
||||||
@ -105,10 +105,10 @@ dokku-ansible-deploy-dependencies() {
|
|||||||
dokku_col_log_info1_quiet "Copying Ansible library modules into place"
|
dokku_col_log_info1_quiet "Copying Ansible library modules into place"
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
mkdir -vp $DOKKU_ROOT/.ansible/{roles,plugins/modules}
|
mkdir -p $DOKKU_ROOT/.ansible/{roles,plugins/modules}
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
cp -Rv $DOKKU_ROOT/.ansible/roles/*/library/* $DOKKU_ROOT/.ansible/plugins/modules
|
cp -R $DOKKU_ROOT/.ansible/roles/*/library/* $DOKKU_ROOT/.ansible/plugins/modules
|
||||||
}
|
}
|
||||||
|
|
||||||
dokku-ansible-deploy-post-extract() {
|
dokku-ansible-deploy-post-extract() {
|
||||||
@ -120,8 +120,8 @@ dokku-ansible-deploy-post-extract() {
|
|||||||
declare APP="$1" TMPDIR="$2"
|
declare APP="$1" TMPDIR="$2"
|
||||||
|
|
||||||
if [[ -d "$TMPDIR/deploy.d" ]] && [[ "$(ls -A "$TMPDIR/deploy.d")" ]]; then
|
if [[ -d "$TMPDIR/deploy.d" ]] && [[ "$(ls -A "$TMPDIR/deploy.d")" ]]; then
|
||||||
mkdir -vp "$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
mkdir -p "$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||||
cp -Rv "$TMPDIR/deploy.d/." "$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
cp -R "$TMPDIR/deploy.d/." "$DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||||
dokku_col_log_info1_quiet "Copied deploy.d files and directories into place"
|
dokku_col_log_info1_quiet "Copied deploy.d files and directories into place"
|
||||||
|
|
||||||
if [[ -d "$TMPDIR/deploy.d/vault" ]]; then
|
if [[ -d "$TMPDIR/deploy.d/vault" ]]; then
|
||||||
@ -133,7 +133,7 @@ dokku-ansible-deploy-post-extract() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dokku_col_log_info1_quiet "Copying ansibile.cfg into place"
|
dokku_col_log_info1_quiet "Copying ansibile.cfg into place"
|
||||||
cp -Rv "$PLUGIN_AVAILABLE_PATH/ansible-deploy/ansible.cfg" /home/dokku/.ansible.cfg
|
cp -R "$PLUGIN_AVAILABLE_PATH/ansible-deploy/ansible.cfg" /home/dokku/.ansible.cfg
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user