bump prom?
This commit is contained in:
parent
7638a46675
commit
8050a7746b
@ -56,6 +56,9 @@
|
|||||||
owner: prometheus
|
owner: prometheus
|
||||||
group: prometheus
|
group: prometheus
|
||||||
state: link
|
state: link
|
||||||
|
notify:
|
||||||
|
- restart prometheus
|
||||||
|
|
||||||
- name: Create a symbolic link
|
- name: Create a symbolic link
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
src: /usr/share/prometheus/prometheus-{{prom_version}}.linux-amd64/promtool
|
src: /usr/share/prometheus/prometheus-{{prom_version}}.linux-amd64/promtool
|
||||||
@ -128,6 +131,10 @@
|
|||||||
- name: reload prometheus
|
- name: reload prometheus
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
name: prometheus
|
name: prometheus
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
- name: restart prometheus
|
||||||
|
ansible.builtin.systemd_service:
|
||||||
|
name: prometheus
|
||||||
|
state: restarted
|
||||||
|
|
||||||
#### TODO как откатывать неудачную проверку promtool'ом ?
|
#### TODO как откатывать неудачную проверку promtool'ом ?
|
Loading…
x
Reference in New Issue
Block a user