ansible/roles/node-exporter/tasks/main.yml

15 lines
264 B
YAML
Raw Normal View History

2021-02-12 22:13:37 +01:00
---
- name: Prometheus node exporter
apt:
name:
- prometheus-node-exporter
state: present
- name: Allow queries from prometheus server
ufw:
rule: allow
port: "9100"
direction: in
proto: tcp
from: "{{ prometheus_server_ip }}"