Skip to content

Commit cc0d7c2

Browse files
committed
make cluster_home_manila_share_type optional for when default share type is defined
1 parent 7c48b82 commit cc0d7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/cluster_infra/templates/resources.tf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ resource "openstack_sharedfilesystem_share_v2" "home" {
8484
name = "{{ cluster_name }}-home"
8585
description = "Home for control node"
8686
share_proto = "CEPHFS"
87-
share_type = "{{ cluster_home_manila_share_type }}"
87+
share_type = {{ '"' + cluster_home_manila_share_type + '"' | default('null') }}
8888
size = "{{ home_volume_size }}"
8989
}
9090

0 commit comments

Comments
 (0)