]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
fix crush location for non-containerized deployment 2146/head
authoryaoning <yaoning@unitedstack.com>
Wed, 8 Nov 2017 01:02:51 +0000 (12:02 +1100)
committeryaoning <yaoning@unitedstack.com>
Wed, 8 Nov 2017 01:05:10 +0000 (12:05 +1100)
crush location only set for containerized deployment

Signed-off-by: yaoning <yaoning@unitedstack.com>
roles/ceph-osd/tasks/start_osds.yml

index b44db3fa409026f9e4061f52276c635cd7faab59..91dde1688293f17c06efdf648f4b2a2b42b432f4 100644 (file)
@@ -1,4 +1,8 @@
 ---
+- name: include osd_fragment.yml
+  include: osd_fragment.yml
+  when: crush_location
+
 - name: get osd id
   shell: |
     ls /var/lib/ceph/osd/ | sed 's/.*-//'