Skip to content

Commit

Permalink
feat: Support Prometheus 3.0
Browse files Browse the repository at this point in the history
Update prometheus role for 3.0.0.
* Update argument_specs.yml to reflect support of 3.x.

Fixes: #460

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Nov 17, 2024
1 parent 1231802 commit 9a88fa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/prometheus/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
prometheus_version: 2.54.1
prometheus_version: 3.0.0
prometheus_binary_url: "https://github.com/{{ _prometheus_repo }}/releases/download/v{{ prometheus_version }}/\
prometheus-{{ prometheus_version }}.{{ ansible_system | lower }}-{{ _prometheus_go_ansible_arch }}.tar.gz"
prometheus_checksums_url: "https://github.com/{{ _prometheus_repo }}/releases/download/v{{ prometheus_version }}/sha256sums.txt"
Expand Down
4 changes: 2 additions & 2 deletions roles/prometheus/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ argument_specs:
prometheus_version:
description:
- "Prometheus package version. Also accepts C(latest) as parameter."
- "Only prometheus 2.x is supported"
default: "2.54.1"
- "Prometheus >= 2.x is supported"
default: "3.0.0"
prometheus_binary_url:
description: "URL of the prometheus binaries .tar.gz file"
default: "https://github.com/{{ _prometheus_repo }}/releases/download/v{{ prometheus_version }}/prometheus-{{ prometheus_version }}.{{ ansible_system | lower }}-{{ _prometheus_go_ansible_arch }}.tar.gz"
Expand Down

0 comments on commit 9a88fa7

Please sign in to comment.