add prometheus node exporter to ansible

This commit is contained in:
Arya 2023-08-22 18:01:27 +05:30
parent 6580d4aafb
commit 37f74113b3
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -20,6 +20,8 @@
- btop - btop
- iperf3 - iperf3
- neofetch - neofetch
- tmux
- prometheus-node-exporter
- name: Enable VNStat service - name: Enable VNStat service
ansible.builtin.service: ansible.builtin.service:
name: vnstat name: vnstat
@ -30,6 +32,11 @@
name: chrony name: chrony
enabled: true enabled: true
state: started state: started
- name: Enable Prometheus Node Exporter service
ansible.builtin.service:
name: prometheus-node-exporter
enabled: true
state: started
- name: Sysctl - name: Sysctl
hosts: all hosts: all
tasks: tasks: