diff --git a/functions b/functions index b47dd89..85ce941 100755 --- a/functions +++ b/functions @@ -83,7 +83,7 @@ dokku-ansible-deploy-dependencies() { dokku_col_log_info1_quiet "Ensuring the following packages are installed: $DEPENDENCIES" export DEBIAN_FRONTEND=noninteractive - apt install -y "$DEPENDENCIES" + apt update && apt install -y $DEPENDENCIES dokku_col_log_info1_quiet "Installing Ansible requirements" ansible-galaxy install --role-file "$REQUIREMENTS" --force