]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Add README for partition_dict
authorDavid Galloway <dgallowa@redhat.com>
Fri, 29 Sep 2017 17:34:00 +0000 (13:34 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 29 Sep 2017 19:34:53 +0000 (15:34 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/README.rst

index fd892a2eb29484e92c24026b8d78f9f3c4408943..2f7315ae10c00b5095ab4a495d030f3c5954b28c 100644 (file)
@@ -162,6 +162,31 @@ The latter is only done if ``lab_domain`` is defined::
 
     lab_domain: ''
 
+A dictionary of drives/devices you want to partition.  ``scratch_devs`` is not required.  All other values are self-explanatory given this example::
+
+    # Example:
+    drives_to_partition:
+      nvme0n1:
+        drive: "/dev/nvme0n1"
+        unit: "GB"
+        sizes:
+          - "0 95"
+          - "95 190"
+          - "190 285"
+          - "285 380"
+          - "380 400"
+        scratch_devs:
+          - p1
+          - p2
+          - p3
+          - p4
+      sdb:
+        drive: "/dev/sdb"
+        unit: "%"
+        sizes:
+          - "0 50"
+          - "50 100"
+
 Tags
 ++++