From e3a6429e73240682c9bc0487f07343bda5e43c73 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Tue, 11 Apr 2017 14:33:21 +0100 Subject: [PATCH] Only include cluster.conf and osd.conf when building ceph.conf This is the same fix as bc846b7da6d9af16d9611fef7f00df6557f19def applied to the other part of the code-base that builds ceph.conf (I'd missed that 349b9ab3e72f188c50b5f84f3ce5ee2fddcfbf80 had duplicated this code). Signed-off-by: Matthew Vernon --- roles/ceph-common/tasks/generate_ceph_conf.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-common/tasks/generate_ceph_conf.yml b/roles/ceph-common/tasks/generate_ceph_conf.yml index 12b0bcfe5..c5d0b310d 100644 --- a/roles/ceph-common/tasks/generate_ceph_conf.yml +++ b/roles/ceph-common/tasks/generate_ceph_conf.yml @@ -25,6 +25,7 @@ assemble: src: /etc/ceph/ceph.d/ dest: /etc/ceph/{{ cluster }}.conf + regexp: "^(({{cluster}})|(osd)).conf$" owner: "ceph" group: "ceph" mode: "0644" -- 2.39.5