Commit 17d7c3a7 authored by ale's avatar ale

Merge branch 'ipmi' into 'master'

base: add ipmi support and autodetection

See merge request !98
parents 47364b63 e595e8f0
Pipeline #6175 failed with stages
in 2 minutes and 42 seconds
---
- name: Install ipmitool packages and dependency
apt:
name: "{{ item }}"
state: present
with_items:
- 'ipmitool'
- 'gawk' # prometheus-node-exporter-ipmitool-sensor dependency
- name: Enable prometheus node-exporter ipmitool sensor
systemd:
name: prometheus-node-exporter-ipmitool-sensor.timer
state: started
enabled: yes
......@@ -78,3 +78,11 @@
- import_tasks: backup.yml
- import_tasks: cleanup.yml
- name: Check ipmi availability
stat:
path: "/dev/ipmi0"
register: ipmi_device
- import_tasks: ipmi.yml
when: ipmi_device.stat.exists == true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment