Commit e595e8f0 authored by godog's avatar godog

base: add ipmi support and autodetection

parent 96a42eaf
Pipeline #6170 failed with stage
in 3 minutes and 1 second
- name: Install ipmitool packages and dependency
name: "{{ item }}"
state: present
- 'ipmitool'
- 'gawk' # prometheus-node-exporter-ipmitool-sensor dependency
- name: Enable prometheus node-exporter ipmitool sensor
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
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