]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Fix typo and clarify dict for drives_to_partition 387/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 19 Mar 2018 18:38:40 +0000 (14:38 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 19 Mar 2018 18:38:40 +0000 (14:38 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/README.rst

index 0d1cc3272d33c84ebcd042cf12a79f4baaf15ecc..468307e007e631e9566e9c51d8e7ab751d481bd4 100644 (file)
@@ -172,7 +172,7 @@ A dictionary of drives/devices you want to partition.  ``scratch_devs`` is not r
     # Example:
     drives_to_partition:
       nvme0n1:
-        drive: "/dev/nvme0n1"
+        device: "/dev/nvme0n1"
         unit: "GB"
         sizes:
           - "0 95"
@@ -186,11 +186,13 @@ A dictionary of drives/devices you want to partition.  ``scratch_devs`` is not r
           - p3
           - p4
       sdb:
-        drive: "/dev/sdb"
+        device: "/dev/sdb"
         unit: "%"
         sizes:
           - "0 50"
           - "50 100"
+        scratch_devs:
+          - 2
 
 A dictionary of volume groups you want created.  ``pvs`` should be a comma-delimited list.  Example::