]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
item.2 changes to item.1 382/head
authorMichael Sambol <sambol.michael@gmail.com>
Mon, 17 Aug 2015 17:30:03 +0000 (12:30 -0500)
committerMichael Sambol <sambol.michael@gmail.com>
Mon, 17 Aug 2015 17:30:03 +0000 (12:30 -0500)
roles/ceph-osd/tasks/activate_osds.yml

index 02bb6b587686562c8239a19dc94a937dff1ac606..3ce1534637df7a5b1b1411fc883d3977196f9d17 100644 (file)
@@ -3,7 +3,7 @@
 # partition.
 - name: activate osd(s) when device is a disk
   command: |
-    ceph-disk activate {{ item.2 | regex_replace('^(\/dev\/cciss\/c[0-9]{1}d[0-9]{1})$', '\\1p') }}1
+    ceph-disk activate {{ item.1 | regex_replace('^(\/dev\/cciss\/c[0-9]{1}d[0-9]{1})$', '\\1p') }}1
   with_together:
     - ispartition.results
     - devices