]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
tools: Playbook to update Intel NVMe firmware 371/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 17 Jan 2018 19:37:44 +0000 (14:37 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 17 Jan 2018 19:38:17 +0000 (14:38 -0500)
Signed-off-by: David Galloway <dgallowa@redhat.com>
tools/update-nvme-firmware.yml [new file with mode: 0644]

diff --git a/tools/update-nvme-firmware.yml b/tools/update-nvme-firmware.yml
new file mode 100644 (file)
index 0000000..3ea205d
--- /dev/null
@@ -0,0 +1,20 @@
+---
+# This playbook can be used to mass update NVMe card firmware.
+# The isdct RPM (no DEB unfortunately) can be obtained from Intel's website.
+# Download the zip, unpack, and push to drop.front.
+# https://downloadcenter.intel.com/product/87278/Intel-SSD-Data-Center-Tool
+
+- hosts:
+    - smithi
+  become: true
+  tasks:
+
+  - name: Install tool
+    yum:
+      name: http://drop.front.sepia.ceph.com/firmware/smithi/isdct-3.0.9.400-17.x86_64.rpm
+      state: installed
+    register: installed
+
+  - name: Update firmware
+    command: "isdct load -f -intelssd 0"
+    when: installed|changed