mail-server/ansible/06-prometheus-exporters.yml
2024-05-30 00:52:52 +03:00

20 lines
370 B
YAML

- name: VPN Setup
hosts:
- mx1
- mx2
remote_user: root
vars_files:
- vars.yml
tasks:
- name: Install node-exporter
community.general.openbsd_pkg:
name:
- node_exporter
state: present
- name: Enable and start node_exporter
service:
name: node_exporter
enabled: yes
state: started