Format and add missing shellcheck exceptions
This commit is contained in:
parent
3c922ea8b4
commit
12c0d52e47
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
|
# shellcheck disable=SC1090
|
||||||
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
||||||
|
|
||||||
dokku-ansible-deploy-dependencies "$@"
|
dokku-ansible-deploy-dependencies "$@"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
|
# shellcheck disable=SC1090
|
||||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||||
|
|
||||||
dokku-ansible-deploy-validate-dependencies() {
|
dokku-ansible-deploy-validate-dependencies() {
|
||||||
@ -31,6 +32,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
||||||
read -p "Please enter your vault password for $app: `echo $'\n> '`" vault_password
|
read -p "Please enter your vault password for $app: `echo $'\n> '`" vault_password
|
||||||
|
|
||||||
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$app" ]]; then
|
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$app" ]]; then
|
||||||
@ -57,7 +59,7 @@ dokku-ansible-deploy-dependencies() {
|
|||||||
|
|
||||||
if ! command -v "ansible" &>/dev/null; then
|
if ! command -v "ansible" &>/dev/null; then
|
||||||
dokku_col_log_info1_quiet "installing ansible"
|
dokku_col_log_info1_quiet "installing ansible"
|
||||||
apt install -qq -y ansible
|
apt install -qq -y ansible python3 python3-dev
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
|
# shellcheck disable=SC1090
|
||||||
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
||||||
|
|
||||||
dokku-ansible-deploy-post-extract "$@"
|
dokku-ansible-deploy-post-extract "$@"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||||
|
|
||||||
|
# shellcheck disable=SC1090
|
||||||
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
|
||||||
|
|
||||||
dokku-ansible-deploy-vault-pass-cmd "$@"
|
dokku-ansible-deploy-vault-pass-cmd "$@"
|
||||||
|
Reference in New Issue
Block a user