mirror of https://github.com/ceph/ceph-ansible.git
Only assemble {{ cluster }}.conf and osd.conf
Ansible's assemble module by default will put all files in the src directory together into dest. We only want to put {{ cluster }}.conf and osd.conf together, not anything that might have found its way into /etc/ceph/ceph.d (e.g. files left by the sysadmin taking backups before an ansible run). So specify a regexp that matches only those two files. Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>pull/1431/head
parent
a9fdb81eb1
commit
bc846b7da6
|
@ -68,6 +68,7 @@
|
|||
assemble:
|
||||
src: /etc/ceph/ceph.d/
|
||||
dest: /etc/ceph/{{ cluster }}.conf
|
||||
regexp: "^(({{cluster}})|(osd)).conf$"
|
||||
owner: "ceph"
|
||||
group: "ceph"
|
||||
mode: "0644"
|
||||
|
|
Loading…
Reference in New Issue