- grafana: postgres backend, provisioning (prometheus datasource + node/NUT dashboards) - prometheus: native service, scrape config via host_vars, localhost bind - node_exporter: host metrics exporter (localhost:9100)
11 lines
209 B
YAML
11 lines
209 B
YAML
---
|
|
- name: Restart Prometheus
|
|
ansible.builtin.systemd:
|
|
name: "{{ prometheus_service }}"
|
|
state: restarted
|
|
|
|
- name: Reload Nginx
|
|
ansible.builtin.systemd:
|
|
name: nginx
|
|
state: reloaded
|