]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Make ceph-common aware of osd config fragments
authorChristian Zunker <christian.zunker@codecentric.de>
Wed, 15 Mar 2017 12:32:30 +0000 (13:32 +0100)
committerMatthew Vernon <mv3@sanger.ac.uk>
Tue, 11 Apr 2017 14:18:47 +0000 (15:18 +0100)
commita388fa5a7b374dfe2cc2274295aee0721d4976ec
tree7b5ac666e3264d41fcf9a047c4241c123b093102
parente887552a67c38d1ee5af4ac52537c5325a3fd059
Make ceph-common aware of osd config fragments

This removes the implicit order requirement when using OSD fragments.
When you use OSD fragments and ceph-osd role is not the last one,
the fragments get removed from ceph.conf by ceph-common.

It is not nice to have this code at two locations, but this is
necessary to prevent problems, when ceph-osd is the last role as
ceph-common gets executed before ceph-osd.

This could be prevented when ceph-common would be explicitly called
at the end of the playbook.

This is a backport of commit 349b9ab3e72f188c50b5f84f3ce5ee2fddcfbf80
onto Stable-2.1. That commit was by Christian Zunker
<christian.zunker@codecentric.de>

Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
roles/ceph-common/tasks/generate_ceph_conf.yml