]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Make ceph-common aware off osd config fragments 1365/head
authorChristian Zunker <christian.zunker@codecentric.de>
Wed, 15 Mar 2017 12:32:30 +0000 (13:32 +0100)
committerChristian Zunker <christian.zunker@codecentric.de>
Thu, 16 Mar 2017 08:50:08 +0000 (09:50 +0100)
commit349b9ab3e72f188c50b5f84f3ce5ee2fddcfbf80
tree6a886d1e28fd4e05d5a7367da025ab56c0265538
parentacfaf87ab08361deb09f475f0607b8b621cbd466
Make ceph-common aware off 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.

Signed-off-by: Christian Zunker <christian.zunker@codecentric.de>
roles/ceph-common/tasks/generate_ceph_conf.yml