31 lines
565 B
YAML
31 lines
565 B
YAML
---
|
|
|
|
- name: Copy IPMIcfg
|
|
copy:
|
|
src: files/IPMICFG_1.30.0_build.190710/Linux/64bit
|
|
dest: /opt/
|
|
owner: root
|
|
group: root
|
|
mode: '0700'
|
|
|
|
|
|
- name: install ipmi
|
|
apt:
|
|
pkg:
|
|
- ipmitool
|
|
|
|
- name: configure ipmi disable dhcp
|
|
command: /opt/64bit/IPMICFG-Linux.x86_64 -dhcp off
|
|
|
|
- name: configure ipmi ip
|
|
command: /opt/64bit/IPMICFG-Linux.x86_64 -m {{ipmi_host}}
|
|
|
|
- name: configure ipmi netmask
|
|
command: /opt/64bit/IPMICFG-Linux.x86_64 -k 255.255.254.0
|
|
|
|
- name: configure ipmi gw
|
|
command: /opt/64bit/IPMICFG-Linux.x86_64 -g 10.10.0.1
|
|
|
|
|
|
|