From c50b5867a6d933163230a7433c7d96e1594d962e Mon Sep 17 00:00:00 2001 From: Shengjing Zhu Date: Thu, 15 Dec 2016 20:17:00 +0800 Subject: [PATCH] fix ceph-rest-api not using correct configure file Signed-off-by: Shengjing Zhu --- roles/ceph-restapi/tasks/start_restapi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-restapi/tasks/start_restapi.yml b/roles/ceph-restapi/tasks/start_restapi.yml index 4eef1d65e..357c5d7a2 100644 --- a/roles/ceph-restapi/tasks/start_restapi.yml +++ b/roles/ceph-restapi/tasks/start_restapi.yml @@ -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 -- 2.39.5