Fix Cinder CSI bugs (#5492)

This commit is contained in:
Ali Sanhaji
2020-02-17 10:49:28 +01:00
committed by GitHub
parent 57b0b6a9b1
commit d56e9f6b80
4 changed files with 15 additions and 16 deletions

View File

@@ -21,14 +21,14 @@
- name: Cinder CSI Driver | check cinder_tenant_id value
fail:
msg: "one of cinder_tenant_id or cinder_trust_id must be specified"
msg: "one of cinder_tenant_id or cinder_tenant_name must be specified"
when:
- cinder_tenant_id is not defined or not cinder_tenant_id
- cinder_trust_id is not defined
- cinder_tenant_name is not defined
- name: Cinder CSI Driver | check cinder_trust_id value
- name: Cinder CSI Driver | check cinder_tenant_name value
fail:
msg: "one of cinder_tenant_id or cinder_trust_id must be specified"
msg: "one of cinder_tenant_id or cinder_tenant_name must be specified"
when:
- cinder_trust_id is not defined or not cinder_trust_id
- cinder_tenant_name is not defined or not cinder_tenant_name
- cinder_tenant_id is not defined