diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2
index fb41803d674fa9e0bd4219738467daacd0c7dc46..a3a7cf22fe48a15c4ddb35086034a7ca5a7d4f29 100644
--- a/ansible/roles/cinder/templates/cinder.conf.j2
+++ b/ansible/roles/cinder/templates/cinder.conf.j2
@@ -100,8 +100,9 @@ volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
 volume_backend_name = lvm-1
 iscsi_helper = tgtadm
 iscsi_protocol = iscsi
+{% endif %}
 
-{% elif enable_ceph | bool and cinder_backend_ceph | bool %}
+{% if enable_ceph | bool and cinder_backend_ceph | bool %}
 [rbd-1]
 volume_driver = cinder.volume.drivers.rbd.RBDDriver
 rbd_pool = {{ ceph_cinder_pool_name }}