19 lines
350 B
YAML
19 lines
350 B
YAML
|
---
|
||
|
- name: Restart Prometheus Service
|
||
|
systemd:
|
||
|
name: prometheus
|
||
|
state: restarted
|
||
|
daemon_reload: yes
|
||
|
enabled: yes
|
||
|
listen: __prometheus_restart
|
||
|
become: True
|
||
|
become_user: root
|
||
|
|
||
|
- name: Reload Prometheus Service
|
||
|
systemd:
|
||
|
name: prometheus
|
||
|
state: reloaded
|
||
|
listen: __prometheus_reload
|
||
|
become: True
|
||
|
become_user: root
|