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: memory_node
tasks:
- name: Create directory
file:
path: /root/r920-25-11
state: directory
- name: copy BIOS firmware
copy:
src: files/R920_BIOS_HPKJN_LN_1.9.0.BIN
mode: 0744
dest: /root/r920-25-11/R920_BIOS_HPKJN_LN_1.9.0.BIN
- name: copy Intel Network Firmware
copy:
src: files/Network_Firmware_GK57C_LN_19.0.12_A00.BIN
mode: 0744
dest: /root/r920-25-11/
- name: copy iDRAC firmware
copy:
src: files/iDRAC-with-Lifecycle-Controller_Firmware_T35W2_LN_2.63.60.62_A00.BIN
mode: 0744
dest: /root/r920-25-11/iDRAC-with-Lifecycle-Controller_Firmware_T35W2_LN_2.63.60.62_A00.BIN
- name: install BIOS firmware
shell: /root/r920-25-11/R920_BIOS_HPKJN_LN_1.9.0.BIN -q
register: result
failed_when: 'result.rc >3 '
- name: install Network firmware
shell: /root/r920-25-11/Network_Firmware_GK57C_LN_19.0.12_A00.BIN -q
register: result
failed_when: 'result.rc >3 '
- name: install iDRAC firmware
shell: /root/r920-25-11/iDRAC-with-Lifecycle-Controller_Firmware_T35W2_LN_2.63.60.62_A00.BIN -q
register: result
failed_when: 'result.rc >3 '