]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-common: purge ceph.conf file 694/head
authorSébastien Han <seb@redhat.com>
Thu, 7 Apr 2016 08:46:42 +0000 (10:46 +0200)
committerSébastien Han <seb@redhat.com>
Tue, 10 May 2016 14:51:42 +0000 (16:51 +0200)
commit47860a887fcc240d463a5b57a021f316c7533343
tree5c00b41249e530a46a3e5e5aae0fb57369963532
parent5fbf0a582144b2252c8ad09bce0ee3947eb85d31
ceph-common: purge ceph.conf file

Since ##461 we have been having the ability to override ceph default
options. Previously we had to add a new line in the template and then
another variable as well. Doing a PR for one option was such a pain. As
a result, we now have tons of options that we need to maintain across
all the ceph version, yet another painful thing to do.
This commit removes all the ceph options so they are handled by ceph
directly. If you want to add a new option, feel free to to use the
`ceph_conf_overrides` variable of your `group_vars/all`.

Risks, for those who have been managing their ceph using ceph-ansible
this is not a trivial change as it will trigger a change in your
`ceph.conf` and then restart all your ceph services. Moreover if you did
some specific tweaks as well, prior to run ansible you should update the
`ceph_conf_overrides` variable to reflect your previous changes.

To avoid service restart, you need to know a bit of ansible for this,
but generally the idea would be to run ansible on a dummy host to
generate the ceph.conf, then scp this file to all your ceph hosts and
you should be good.

Closes: #693
Signed-off-by: Sébastien Han <seb@redhat.com>
README.md
group_vars/all.sample
roles/ceph-common/defaults/main.yml
roles/ceph-common/templates/ceph.conf.j2