]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
fix ceph-rest-api not using correct configure file 1190/head
authorShengjing Zhu <zsj950618@gmail.com>
Thu, 15 Dec 2016 12:17:00 +0000 (20:17 +0800)
committerShengjing Zhu <zsj950618@gmail.com>
Thu, 15 Dec 2016 12:23:36 +0000 (20:23 +0800)
Signed-off-by: Shengjing Zhu <zsj950618@gmail.com>
roles/ceph-restapi/tasks/start_restapi.yml

index 4eef1d65e9859e0faa54db380969a2b20521ce65..357c5d7a2a70a3182999d188f15b2655756dab0c 100644 (file)
@@ -7,6 +7,6 @@
   register: restapi_status
 
 - name: start ceph rest api
-  shell: "nohup ceph-rest-api &"
+  shell: "nohup ceph-rest-api --conf /etc/ceph/{{ cluster }}.conf &"
   changed_when: false
   when: restapi_status.rc != 0