You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

  1. ---
  2. - name: Cinder CSI Driver | check cinder_auth_url value
  3. fail:
  4. msg: "cinder_auth_url is missing"
  5. when: cinder_auth_url is not defined or not cinder_auth_url
  6. - name: Cinder CSI Driver | check cinder_username value
  7. fail:
  8. msg: "cinder_username is missing"
  9. when: cinder_username is not defined or not cinder_username
  10. - name: Cinder CSI Driver | check cinder_password value
  11. fail:
  12. msg: "cinder_password is missing"
  13. when: cinder_password is not defined or not cinder_password
  14. - name: Cinder CSI Driver | check cinder_region value
  15. fail:
  16. msg: "cinder_region is missing"
  17. when: cinder_region is not defined or not cinder_region
  18. - name: Cinder CSI Driver | check cinder_tenant_id value
  19. fail:
  20. msg: "one of cinder_tenant_id or cinder_tenant_name must be specified"
  21. when:
  22. - cinder_tenant_id is not defined or not cinder_tenant_id
  23. - cinder_tenant_name is not defined
  24. - name: Cinder CSI Driver | check cinder_tenant_name value
  25. fail:
  26. msg: "one of cinder_tenant_id or cinder_tenant_name must be specified"
  27. when:
  28. - cinder_tenant_name is not defined or not cinder_tenant_name
  29. - cinder_tenant_id is not defined