Merge pull request #2146 from mslovy/wip-fix-crush-location

osd: fix crush location for non-containerized deployment
pull/2167/head
Guillaume Abrioux 2017-11-13 12:23:44 +01:00 committed by GitHub
commit 0369bd59e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
--- ---
- name: include osd_fragment.yml
include: osd_fragment.yml
when: crush_location
- name: get osd id - name: get osd id
shell: | shell: |
ls /var/lib/ceph/osd/ | sed 's/.*-//' ls /var/lib/ceph/osd/ | sed 's/.*-//'