]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
firmware: flashrom syntax changed for Xenial 368/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 22 Aug 2017 19:54:21 +0000 (15:54 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 22 Aug 2017 19:54:21 +0000 (15:54 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/firmware/tasks/mira/bios-update.yml

index bcee809c10ff124f7c27d5ed6af2288c5400f24b..18a38f00be2d284822b29d2f3dc30775615fbbd3 100644 (file)
@@ -67,9 +67,9 @@
   when: ansible_pkg_mgr == "yum"
 
 - name: Back up existing BIOS (Ubuntu)
-  shell: "flashrom -p internal:Supermicro:X8SIL --read {{ firmware_update_path }}/bios-update/BIOS.bak"
+  shell: "cd {{ firmware_update_path }}/bios-update && flashrom --programmer internal --read BIOS.bak"
   when: ansible_pkg_mgr == "apt"
 
 - name: Flash new BIOS (Ubuntu)
-  shell: "flashrom -p internal:Supermicro:X8SIL --write {{ firmware_update_path }}/bios-update/new-bios"
+  shell: "flashrom --programmer internal --write {{ firmware_update_path }}/bios-update/new-bios"
   when: ansible_pkg_mgr == "apt"