Forge ahead with bash madness

This commit is contained in:
Luke Murphy
2020-04-07 16:29:32 +02:00
parent 4e4999a6d6
commit 052f42347b
5 changed files with 81 additions and 31 deletions

View File

@ -2,15 +2,6 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
dokku-ansible-deploy-dependencies() {
export DEBIAN_FRONTEND=noninteractive
if ! command -v "ansible" &>/dev/null; then
dokku_col_log_info1_quiet "installing ansible"
apt install -qq -y ansible
fi
}
source "$PLUGIN_AVAILABLE_PATH/ansible-deploy/functions"
dokku-ansible-deploy-dependencies "$@"