]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Common: Avoid duplicate section in ceph.conf
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 2 Jun 2017 08:06:19 +0000 (10:06 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 19 Jul 2017 09:50:03 +0000 (11:50 +0200)
commit894df4b8c8dafe840555121ddbd4b33f21228f60
tree8dcc170ea0de5f72ef9e150c2a8f0ddc0637cdfd
parentfcba2c801a122b7ce8ec6a5c27a70bc19589d177
Common: Avoid duplicate section in ceph.conf

See:
 - https://github.com/ceph/ceph-ansible/pull/1018#issuecomment-253491094
 - https://github.com/ceph/ceph-ansible/pull/1018#issuecomment-260276588

The workaround here is rendering `ceph_conf_overrides` before passing it
to `config_template` to be sure we won't have a section added twice in
ceph.conf

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-common/tasks/generate_ceph_conf.yml