From d0b6367dd90ec930bcef80124cf7cb6089339a21 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 3 Mar 2021 15:45:40 +0100 Subject: [PATCH] The download URL is customizable. --- defaults/main.yml | 3 ++- vars/main.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index d00d3db..2c4bfe8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,7 @@ --- prometheus_install: True -prometheus_version: 2.24.1 +prometheus_version: 2.25.0 +prometheus_download_url: 'https://github.com/prometheus/prometheus/releases/download/v{{ prometheus_version }}/{{ prometheus_file }}' prometheus_user: prometheus prometheus_home: /opt/prometheus prometheus_dist_dir: '{{ prometheus_home }}/dist' diff --git a/vars/main.yml b/vars/main.yml index c314e37..0b54f43 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,7 +1,6 @@ --- prometheus_dir: 'prometheus-{{ prometheus_version }}.linux-amd64' prometheus_file: '{{ prometheus_dir }}.tar.gz' -prometheus_download_url: 'https://github.com/prometheus/prometheus/releases/download/v{{ prometheus_version }}/{{ prometheus_file }}' nginx_letsencrypt_managed: True nginx_use_common_virthost: True