ansible-collection-prometheus/roles/prometheus/handlers/main.yml
gardar 2c075e3b15
fix(lint): warning lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00

15 lines
310 B
YAML

---
- name: Restart prometheus
listen: "restart prometheus"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: prometheus
state: restarted
- name: Reload prometheus
listen: "reload prometheus"
become: true
ansible.builtin.systemd:
name: prometheus
state: reloaded