Remove unused driver attr in cinder_backends map

Change-Id: Ib684e3f4bcd26e40c5bfde9bec8a1d83563d5460
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
This commit is contained in:
Pavel Glushchak 2017-04-04 14:07:51 +03:00
parent 57fb2e735c
commit 98f3283dc9

View File

@ -121,19 +121,14 @@ openstack_cinder_auth: "{{ openstack_auth }}"
####################
cinder_backends:
- name: "rbd-1"
driver: "ceph"
enabled: "{{ enable_ceph | bool and cinder_backend_ceph | bool }}"
- name: "lvm-1"
driver: "lvm"
enabled: "{{ enable_cinder_backend_lvm | bool }}"
- name: "nfs-1"
driver: "nfs"
enabled: "{{ enable_cinder_backend_nfs | bool }}"
- name: "hnas-iscsi"
driver: "hnas_iscsi"
enabled: "{{ enable_cinder_backend_hnas_iscsi | bool }}"
- name: "hnas-nfs"
driver: "hnas_nfs"
enabled: "{{ enable_cinder_backend_hnas_nfs | bool }}"
cinder_enabled_backends: "{{ cinder_backends|selectattr('enabled', 'equalto', true)|list }}"