From d1628a2d280d93d611e7cebd9e9325e916f0dad6 Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Mon, 17 Aug 2015 12:30:03 -0500 Subject: [PATCH] item.2 changes to item.1 --- roles/ceph-osd/tasks/activate_osds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-osd/tasks/activate_osds.yml b/roles/ceph-osd/tasks/activate_osds.yml index 02bb6b587..3ce153463 100644 --- a/roles/ceph-osd/tasks/activate_osds.yml +++ b/roles/ceph-osd/tasks/activate_osds.yml @@ -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