Skip to content

Commit 882d1b3

Browse files
committed
Do not always create a manila share type
In the adoption context based on unijobs, we assume that a workload exists in the source cloud. Therefore, we do not need to create a new manila share type in the adopted environment, because it wouldn't be realistic. This patch allows to optionally perform this task, so we can still keep it in standalone, but we don't need to execute it for unijobs. Jira: https://issues.redhat.com/browse/OSPRH-5712 Signed-off-by: Francesco Pantano <[email protected]>
1 parent 4753cef commit 882d1b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/roles/manila_adoption/tasks/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@
4444
vars:
4545
share_type_name: default
4646
driver_handles_share_servers: false
47+
when: manila_create_share_type | default(true)

0 commit comments

Comments
 (0)