Add initial config for dedicated monitoring server
This commit is contained in:
12
roles/dashboard/handlers/main.yaml
Normal file
12
roles/dashboard/handlers/main.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: restart-nginx
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: nginx
|
||||
state: restarted
|
||||
|
||||
- name: restart-grafana
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: grafana-server
|
||||
state: restarted
|
Reference in New Issue
Block a user