]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Only include cluster.conf and osd.conf when building ceph.conf 1436/head
authorMatthew Vernon <mv3@sanger.ac.uk>
Tue, 11 Apr 2017 13:33:21 +0000 (14:33 +0100)
committerMatthew Vernon <mv3@sanger.ac.uk>
Tue, 11 Apr 2017 14:18:47 +0000 (15:18 +0100)
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 <mv3@sanger.ac.uk>
roles/ceph-common/tasks/generate_ceph_conf.yml

index 6a2c68ec716b2ee1d0ab96765d14d81e598526a8..b72e85e65e031c75aadcfabb997e7f79ac6ebdb1 100644 (file)
@@ -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"