This assumes ceph as a cluster name. We need detect the name of the cluster

pull/1386/head
WingkaiHo 2017-03-22 10:09:06 +08:00
parent 83a1ac0c67
commit 1e670bdeb0
1 changed files with 1 additions and 1 deletions

View 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 }}"