add the ansible playbooks for the monitoring stack
This commit is contained in:
9
ansible/roles/prometheus/handlers/main.yml
Normal file
9
ansible/roles/prometheus/handlers/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Reload systemd
|
||||
ansible.builtin.systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Restart prometheus
|
||||
ansible.builtin.systemd:
|
||||
name: prometheus
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user