From 935bfb8129345f6acdf2adadc92bfae8f6a0aea0 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 13 Apr 2020 09:39:57 +0200 Subject: [PATCH] Add new deps and output them --- functions | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/functions b/functions index 3408be2..14ef284 100755 --- a/functions +++ b/functions @@ -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() {