From: Shengjing Zhu Date: Thu, 15 Dec 2016 12:17:00 +0000 (+0800) Subject: fix ceph-rest-api not using correct configure file X-Git-Tag: v2.1.0~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c50b5867a6d933163230a7433c7d96e1594d962e;p=ceph-ansible.git fix ceph-rest-api not using correct configure file Signed-off-by: Shengjing Zhu --- 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