]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
This assumes ceph as a cluster name. We need detect the name of the cluster
authorWingkaiHo <sanguosfiang@163.com>
Wed, 22 Mar 2017 02:09:06 +0000 (10:09 +0800)
committerWingkaiHo <sanguosfiang@163.com>
Wed, 22 Mar 2017 02:09:06 +0000 (10:09 +0800)
infrastructure-playbooks/recover-osds-after-ssd-journal-failure.yml

index f2f59b91150053933947f993b170129e4301d3b1..1e0fd04ad7536a318f3f0f726e621b7ad40c4b6c 100644 (file)
@@ -64,7 +64,7 @@
         
   - name: get osd(s) if directory stat
     stat:
-      path: "/var/lib/ceph/osd/{{ cluster_name }}-{{ item.1.osd_id }}/journal_uuid"
+      path: "/var/lib/ceph/osd/{{ cluster_name.stdout }}-{{ item.1.osd_id }}/journal_uuid"
     register: osds_dir_stat
     with_subelements:
       - "{{ dev_ssds }}"