From: Andrew Schoen Date: Fri, 13 May 2016 20:01:00 +0000 (-0500) Subject: fix the /etc/default/ceph path on debian when setting cluster name X-Git-Tag: ceph-ansible-1.0.5-33~41 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=757f0fd85e7edf0b92c83db0b751b802ebc19468;p=ceph-ansible.git fix the /etc/default/ceph path on debian when setting cluster name In ceph version 10.2.1 a bug was fixed that corrects the path: https://github.com/ceph/ceph/commit/791eba81a5467dd5de4f1680ed0deb647eb3fb8b Signed-off-by: Andrew Schoen (cherry picked from commit 85fb03fc99e0b7cd14b27e369c8e952b79313d73) --- diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index 3513e63ca..880c726ef 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -236,7 +236,7 @@ - name: configure cluster name lineinfile: - dest: /etc/default/ceph/ceph + dest: /etc/default/ceph insertafter: EOF create: yes line: "CLUSTER={{ cluster }}"