Commit daa5c64f authored by ale's avatar ale

Use list as argument for apt task

parent 8650c589
Pipeline #6205 failed with stage
in 4 minutes and 44 seconds
---
- name: Install ipmitool packages and dependency
apt:
name: "{{ item }}"
name: "{{ packages }}"
state: present
with_items:
- 'ipmitool'
- 'gawk' # prometheus-node-exporter-ipmitool-sensor dependency
vars:
packages:
- ipmitool
- gawk # prometheus-node-exporter-ipmitool-sensor dependency
- name: Enable prometheus node-exporter ipmitool sensor
systemd:
......
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