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.

54 lines
2.1 KiB

  1. ---
  2. - name: Azure CSI Driver | check azure_csi_tenant_id value
  3. fail:
  4. msg: "azure_csi_tenant_id is missing"
  5. when: azure_csi_tenant_id is not defined or not azure_csi_tenant_id
  6. - name: Azure CSI Driver | check azure_csi_subscription_id value
  7. fail:
  8. msg: "azure_csi_subscription_id is missing"
  9. when: azure_csi_subscription_id is not defined or not azure_csi_subscription_id
  10. - name: Azure CSI Driver | check azure_csi_aad_client_id value
  11. fail:
  12. msg: "azure_csi_aad_client_id is missing"
  13. when: azure_csi_aad_client_id is not defined or not azure_csi_aad_client_id
  14. - name: Azure CSI Driver | check azure_csi_aad_client_secret value
  15. fail:
  16. msg: "azure_csi_aad_client_secret is missing"
  17. when: azure_csi_aad_client_secret is not defined or not azure_csi_aad_client_secret
  18. - name: Azure CSI Driver | check azure_csi_resource_group value
  19. fail:
  20. msg: "azure_csi_resource_group is missing"
  21. when: azure_csi_resource_group is not defined or not azure_csi_resource_group
  22. - name: Azure CSI Driver | check azure_csi_location value
  23. fail:
  24. msg: "azure_csi_location is missing"
  25. when: azure_csi_location is not defined or not azure_csi_location
  26. - name: Azure CSI Driver | check azure_csi_subnet_name value
  27. fail:
  28. msg: "azure_csi_subnet_name is missing"
  29. when: azure_csi_subnet_name is not defined or not azure_csi_subnet_name
  30. - name: Azure CSI Driver | check azure_csi_security_group_name value
  31. fail:
  32. msg: "azure_csi_security_group_name is missing"
  33. when: azure_csi_security_group_name is not defined or not azure_csi_security_group_name
  34. - name: Azure CSI Driver | check azure_csi_vnet_name value
  35. fail:
  36. msg: "azure_csi_vnet_name is missing"
  37. when: azure_csi_vnet_name is not defined or not azure_csi_vnet_name
  38. - name: Azure CSI Driver | check azure_csi_vnet_resource_group value
  39. fail:
  40. msg: "azure_csi_vnet_resource_group is missing"
  41. when: azure_csi_vnet_resource_group is not defined or not azure_csi_vnet_resource_group
  42. - name: "Azure CSI Driver | check azure_csi_use_instance_metadata is a bool"
  43. assert:
  44. that: azure_csi_use_instance_metadata | type_debug == 'bool'