aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-10-10 18:29:36 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-10-10 18:29:36 -0400
commitb085793ca7952520fccaf646d5ef2d5cea16efbd (patch)
treebe6bce4a084f9a6a1ff028263b84edaf8f55f74f
parent377df0b6841bf61f128c8b9098cc1bf6d506a5b7 (diff)
downloadprometheus-b085793ca7952520fccaf646d5ef2d5cea16efbd.tar.gz
prometheus-b085793ca7952520fccaf646d5ef2d5cea16efbd.tar.xz
Bump the prometheus version and actually run the checksum
-rw-r--r--defaults/main.yml4
-rw-r--r--tasks/main.yml1
2 files changed, 3 insertions, 2 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 5c9be85..938c6e7 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -9,9 +9,9 @@ prometheus_data_dir: '{{prometheus_home_dir}}/data'
prometheus_retention_time: "730d"
prometheus_log: '{{prometheus_home_dir}}/log'
prometheus_user: prometheus
-prometheus_version: "2.12.0"
+prometheus_version: "2.13.0"
prometheus_os: "{{ansible_facts['system']|lower}}" # Should resolve to "linux"
-prometheus_checksum: b9f57b6e64fb3048742cfa7dbcc727e1df906d8020ef246a5e81b7959ae97e08
+prometheus_checksum: af9dea0a130b1b5eddf9f5c2d186e19e0b5493f6d8dde5aa897b46c7437942c7
prometheus_architecture: amd64
prometheus_url: "https://github.com/prometheus/prometheus/releases/download/v{{prometheus_version}}/prometheus-{{prometheus_version}}.{{prometheus_os}}-{{prometheus_architecture}}.tar.gz"
diff --git a/tasks/main.yml b/tasks/main.yml
index 3f2c2a4..cb2645a 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -22,6 +22,7 @@
dest: "{{prometheus_home_dir}}/prometheus-{{prometheus_version}}.tgz"
mode: '0600'
owner: "{{prometheus_user}}"
+ checksum: 'sha256:{{prometheus_checksum}}'
# There's a bug in become_user that doesn't set permissions on the temp directory
# which is asinine when my user has sudo persmissions.
- name: Extract Prometheus