add prometheus node exporter to ansible
This commit is contained in:
parent
6580d4aafb
commit
37f74113b3
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user