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() {