ceph-config: remove ceph_release from ceph.conf.j2

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 62bd41f0d4)
pull/5848/head
Dimitri Savineau 2020-09-25 10:44:08 -04:00 committed by Dimitri Savineau
parent 9d04b8ca8b
commit 8d49d97582
1 changed files with 0 additions and 1 deletions

View 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, []) %}