Add new deps and output them

This commit is contained in:
Luke Murphy 2020-04-13 09:39:57 +02:00
parent 1451558efa
commit 935bfb8129
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -55,12 +55,12 @@ dokku-ansible-deploy-dependencies() {
# shellcheck disable=SC2034
declare desc="install plugin dependencies"
export DEBIAN_FRONTEND=noninteractive
declare DEPENDENCIES="ansible python3 python3-dev python3-ruamel.yaml"
if ! command -v "ansible" &>/dev/null; then
dokku_col_log_info1_quiet "installing ansible"
apt install -qq -y ansible python3 python3-dev
fi
dokku_col_log_info1_quiet "Ensuring the following packages are installed: $DEPENDENCIES"
export DEBIAN_FRONTEND=noninteractive
apt install -qq -y "$DEPENDENCIES"
}
dokku-ansible-deploy-post-extract() {