mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-26 13:50:20 +00:00
1d98aee69a
Signed-off-by: SuperQ <superq@gmail.com>
13 lines
249 B
YAML
13 lines
249 B
YAML
---
|
|
- name: restart prometheus
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
name: prometheus
|
|
state: restarted
|
|
|
|
- name: reload prometheus
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: prometheus
|
|
state: reloaded
|