Format and add missing shellcheck exceptions

This commit is contained in:
Luke Murphy 2020-04-13 09:21:36 +02:00
parent 3c922ea8b4
commit 12c0d52e47
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
5 changed files with 11 additions and 6 deletions

View File

@ -2,6 +2,7 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# shellcheck disable=SC1090
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
dokku-ansible-deploy-dependencies "$@"

View File

@ -2,6 +2,7 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# shellcheck disable=SC1090
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
dokku-ansible-deploy-validate-dependencies() {
@ -31,6 +32,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
exit 0
fi
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
read -p "Please enter your vault password for $app: `echo $'\n> '`" vault_password
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
dokku_col_log_info1_quiet "installing ansible"
apt install -qq -y ansible
apt install -qq -y ansible python3 python3-dev
fi
}

View File

@ -2,6 +2,7 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# shellcheck disable=SC1090
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
dokku-ansible-deploy-post-extract "$@"

View File

@ -2,6 +2,7 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# shellcheck disable=SC1090
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
dokku-ansible-deploy-vault-pass-cmd "$@"