]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-config: remove ceph_release from ceph.conf.j2
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 25 Sep 2020 14:44:08 +0000 (10:44 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 25 Sep 2020 17:37:36 +0000 (13:37 -0400)
We don't use ceph_release variable in the ceph.conf jinja template.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 62bd41f0d4e20d73793d8e8d6a8db722aac146c2)

roles/ceph-config/templates/ceph.conf.j2

index b15068832c023d2fc3cffc507838158e73d87206..e6f7a8e043660193444c9bafc3b01c4780d6c661 100644 (file)
@@ -20,7 +20,6 @@ osd crush chooseleaf type = 0
 {% set nb_client = groups.get(client_group_name, []) | length | int %}
 {% set nb_osd = groups.get(osd_group_name, []) | length | int %}
 {% if inventory_hostname in groups.get(client_group_name, []) and not inventory_hostname == groups.get(client_group_name, []) | first %}
-{% set ceph_release = hostvars[groups[client_group_name][0]]['ceph_release'] %}
 {% endif %}
 
 {% if nb_mon > 0 and inventory_hostname in groups.get(mon_group_name, []) %}