xoxys.prometheus/handlers/main.yml
Robert Kaussow 487d0d1f34
All checks were successful
continuous-integration/drone/push Build is passing
refactor: use generic ansible modules service and package
2021-06-05 15:30:44 +02:00

19 lines
350 B
YAML

---
- name: Restart Prometheus Service
service:
name: prometheus
state: restarted
daemon_reload: yes
enabled: yes
listen: __prometheus_restart
become: True
become_user: root
- name: Reload Prometheus Service
service:
name: prometheus
state: reloaded
listen: __prometheus_reload
become: True
become_user: root