2021-05-29 11:45:35 +00:00
|
|
|
---
|
|
|
|
- name: Restart Prometheus Service
|
2021-06-05 13:30:44 +00:00
|
|
|
service:
|
2021-05-29 11:45:35 +00:00
|
|
|
name: prometheus
|
|
|
|
state: restarted
|
|
|
|
daemon_reload: yes
|
|
|
|
enabled: yes
|
|
|
|
listen: __prometheus_restart
|
|
|
|
become: True
|
|
|
|
become_user: root
|
|
|
|
|
|
|
|
- name: Reload Prometheus Service
|
2021-06-05 13:30:44 +00:00
|
|
|
service:
|
2021-05-29 11:45:35 +00:00
|
|
|
name: prometheus
|
|
|
|
state: reloaded
|
|
|
|
listen: __prometheus_reload
|
|
|
|
become: True
|
|
|
|
become_user: root
|