diff --git a/ansible/roles/cinder/templates/cinder.conf.j2 b/ansible/roles/cinder/templates/cinder.conf.j2 index 06d9de9552..5a87c7cbed 100644 --- a/ansible/roles/cinder/templates/cinder.conf.j2 +++ b/ansible/roles/cinder/templates/cinder.conf.j2 @@ -25,7 +25,7 @@ enabled_backends = {{ cinder_enabled_backends|map(attribute='name')|join(',') }} {% endif %} {% if service_name == "cinder-backup" and enable_cinder_backup | bool %} -{% if enable_ceph | bool and cinder_backup_driver == "ceph" %} +{% if cinder_backup_driver == "ceph" %} backup_driver = cinder.backup.drivers.ceph backup_ceph_conf = /etc/ceph/ceph.conf backup_ceph_user = cinder-backup