Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks but has large files...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

45 lines
1.3 KiB

# update firmware :
# Usage: $ ansible-playbook firmware.yml
---
- name: update firmware
hosts: epic_nodes
tasks:
- name: Create directory
file:
path: /root/r7425-25-11
state: directory
- name: copy BIOS firmware
copy:
src: files/BIOS_2MY33_LN_1.10.6.BIN
mode: 0744
dest: /root/r7425-25-11/BIOS_2MY33_LN_1.10.6.BIN
- name: copy Intel Network Firmware
copy:
src: files/Network_Firmware_T6HGD_LN_19.0.12_A00.BIN
mode: 0744
dest: /root/r7425-25-11/
- name: copy iDRAC firmware
copy:
src: files/iDRAC-with-Lifecycle-Controller_Firmware_HFMCV_LN_3.36.36.36_A00.BIN
mode: 0744
dest: /root/r7425-25-11/iDRAC-with-Lifecycle-Controller_Firmware_HFMCV_LN_3.36.36.36_A00.BIN
- name: install BIOS firmware
shell: /root/r7425-25-11/BIOS_2MY33_LN_1.10.6.BIN -q
register: result
failed_when: 'result.rc >3 '
- name: install Network firmware
shell: /root/r7425-25-11/Network_Firmware_T6HGD_LN_19.0.12_A00.BIN -q
register: result
failed_when: 'result.rc >3 '
- name: install iDRAC firmware
shell: /root/r7425-25-11/iDRAC-with-Lifecycle-Controller_Firmware_HFMCV_LN_3.36.36.36_A00.BIN -q
register: result
failed_when: 'result.rc >3 '