Merge pull request #750 from ceph/osd-id-fix

Get the correct OSD ID when the cluster name includes numbers
pull/757/head
Leseb 2016-05-04 16:40:46 +02:00
commit 27bbcd2161
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
is_before_infernalis
- name: get osd id (for or after infernalis)
shell: "ls /var/lib/ceph/osd/ |grep -oh '[0-9]*'"
shell: "ls /var/lib/ceph/osd/ | grep '-' | cut -d '-' -f 2"
changed_when: false
failed_when: false
register: osd_id