Add new roles for monitoring

This commit is contained in:
2025-01-09 21:06:28 +01:00
parent 98ef8d9896
commit 067b325678
24 changed files with 1084 additions and 0 deletions

View File

@ -0,0 +1,11 @@
## Restart Prometheus on changes
- name: restart prometheus
ansible.builtin.service:
name: '{{ prometheus_service }}'
state: restarted
## Restart Alertmanger on changes
- name: restart alertmanager
ansible.builtin.service:
name: '{{ alertmanager_service }}'
state: restarted