Browse Source

R920

pull/12/head
root 3 years ago
parent
commit
0a49ea2059
  1. 45
      firmware920.yml

45
firmware920.yml

@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
# update firmware :
# Usage: $ ansible-playbook firmware.yml
---
- name: update firmware
hosts: pg-memory02
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 '
Loading…
Cancel
Save