diff --git a/roles/ceph-config/templates/ceph.conf.j2 b/roles/ceph-config/templates/ceph.conf.j2 index b15068832..e6f7a8e04 100644 --- a/roles/ceph-config/templates/ceph.conf.j2 +++ b/roles/ceph-config/templates/ceph.conf.j2 @@ -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, []) %}