bump prom?

This commit is contained in:
hogweed1 2025-04-15 01:39:41 +10:00
parent 7638a46675
commit 8050a7746b

View File

@ -56,6 +56,9 @@
owner: prometheus
group: prometheus
state: link
notify:
- restart prometheus
- name: Create a symbolic link
ansible.builtin.file:
src: /usr/share/prometheus/prometheus-{{prom_version}}.linux-amd64/promtool
@ -128,6 +131,10 @@
- name: reload prometheus
ansible.builtin.systemd_service:
name: prometheus
state: reloaded
state: reloaded
- name: restart prometheus
ansible.builtin.systemd_service:
name: prometheus
state: restarted
#### TODO как откатывать неудачную проверку promtool'ом ?