Commit 5e9444fa authored by Seena Fallah's avatar Seena Fallah Committed by Guillaume Abrioux
Browse files

ceph-osd: use global crush_device_class in lvm_volumes



Use global crush_device_class variable if it's not set per OSD
Signed-off-by: default avatarSeena Fallah <seenafallah@gmail.com>
parent aa6e1f20
......@@ -11,7 +11,7 @@
db_vg: "{{ item.db_vg|default(omit) }}"
wal: "{{ item.wal|default(omit) }}"
wal_vg: "{{ item.wal_vg|default(omit) }}"
crush_device_class: "{{ item.crush_device_class|default(omit) }}"
crush_device_class: "{{ item.crush_device_class | default(crush_device_class) | default(omit) }}"
dmcrypt: "{{ dmcrypt|default(omit) }}"
action: "{{ 'prepare' if containerized_deployment | bool else 'create' }}"
environment:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment