Merge "Allow to skip volume type management by role"

This commit is contained in:
Zuul 2024-05-20 16:11:59 +00:00 committed by Gerrit Code Review
commit af966b7354
3 changed files with 13 additions and 1 deletions

View File

@ -310,6 +310,8 @@ cinder_quota_backup_gigabytes: 1000
# - lvm_high_iops
# - lvm_low_iops
cinder_manage_volume_types: True
# Override generated device filter in lvm.conf
# Example:
# cinder_lvm_devices_filter_override:

View File

@ -0,0 +1,5 @@
---
features:
- |
Added variable ``cinder_manage_volume_types`` that allows to skip volume
type creation and management by os_cinder role.

View File

@ -261,10 +261,15 @@
- cinder-config
- name: Importing cinder_backends tasks
import_tasks: cinder_backends.yml
include_tasks: cinder_backends.yml
args:
apply:
tags:
- cinder-config
when:
- "groups[cinder_services['cinder-volume']['group']] | length > 0"
- "_cinder_is_last_play_host"
- cinder_manage_volume_types | bool
tags:
- cinder-config