mirror of https://github.com/ceph/ceph-ansible.git
commit
06b855d071
|
@ -69,7 +69,7 @@
|
||||||
- is_before_infernalis
|
- is_before_infernalis
|
||||||
|
|
||||||
- name: get osd id (for or after 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
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: osd_id
|
register: osd_id
|
||||||
|
|
Loading…
Reference in New Issue