allow dash in cluster name

pull/816/head
Marcus Pamelia 2016-05-29 09:20:46 +02:00
parent 84dad9a775
commit d694c59278
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 '-' | cut -d '-' -f 2"
shell: 'ls /var/lib/ceph/osd/ | grep -oP "\d+$"'
changed_when: false
failed_when: false
register: osd_id