mirror of https://github.com/ceph/ceph-ansible.git
item.2 changes to item.1
parent
f132188658
commit
d1628a2d28
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue