mirror of
https://gitea.0xace.cc/ansible-galaxy/node-exporter.git
synced 2024-11-25 00:16:40 +00:00
14 lines
308 B
YAML
14 lines
308 B
YAML
---
|
|
- name: Ensure node_exporter version {{ node_exporter_version }} installed
|
|
dnf:
|
|
name: "node_exporter-{{ node_exporter_version }}"
|
|
state: present
|
|
|
|
- name: Enable and start node_exporter
|
|
systemd:
|
|
name: node_exporter
|
|
state: started
|
|
enabled: yes
|
|
masked: no
|
|
daemon_reload: yes
|