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.

121 lines
2.5 KiB

  1. ---
  2. dependencies:
  3. - role: kubernetes-apps/ansible
  4. when:
  5. - inventory_hostname == groups['kube-master'][0]
  6. tags:
  7. - apps
  8. - role: kubernetes-apps/helm
  9. when:
  10. - helm_enabled
  11. tags:
  12. - apps
  13. - helm
  14. - role: kubernetes-apps/registry
  15. when:
  16. - registry_enabled
  17. - inventory_hostname == groups['kube-master'][0]
  18. tags:
  19. - apps
  20. - registry
  21. - role: kubernetes-apps/metrics_server
  22. when:
  23. - metrics_server_enabled
  24. - inventory_hostname == groups['kube-master'][0]
  25. tags:
  26. - apps
  27. - metrics_server
  28. - role: kubernetes-apps/csi_driver/csi_crd
  29. when:
  30. - cinder_csi_enabled
  31. - inventory_hostname == groups['kube-master'][0]
  32. tags:
  33. - apps
  34. - csi-driver
  35. - role: kubernetes-apps/csi_driver/cinder
  36. when:
  37. - cinder_csi_enabled
  38. tags:
  39. - apps
  40. - cinder-csi-driver
  41. - csi-driver
  42. - role: kubernetes-apps/csi_driver/aws_ebs
  43. when:
  44. - aws_ebs_csi_enabled
  45. tags:
  46. - apps
  47. - aws-ebs-csi-driver
  48. - csi-driver
  49. - role: kubernetes-apps/csi_driver/azuredisk
  50. when:
  51. - azure_csi_enabled
  52. tags:
  53. - apps
  54. - azure-csi-driver
  55. - csi-driver
  56. - role: kubernetes-apps/csi_driver/gcp_pd
  57. when:
  58. - gcp_pd_csi_enabled
  59. tags:
  60. - apps
  61. - gcp-pd-csi-driver
  62. - csi-driver
  63. - role: kubernetes-apps/csi_driver/vsphere
  64. when:
  65. - vsphere_csi_enabled
  66. tags:
  67. - apps
  68. - vsphere-csi-driver
  69. - csi-driver
  70. - role: kubernetes-apps/persistent_volumes
  71. when:
  72. - persistent_volumes_enabled
  73. - inventory_hostname == groups['kube-master'][0]
  74. tags:
  75. - apps
  76. - persistent_volumes
  77. - role: kubernetes-apps/snapshots
  78. when: inventory_hostname == groups['kube-master'][0]
  79. tags:
  80. - apps
  81. - snapshots
  82. - csi-driver
  83. - role: kubernetes-apps/container_runtimes
  84. when:
  85. - inventory_hostname == groups['kube-master'][0]
  86. tags:
  87. - apps
  88. - container-runtimes
  89. - role: kubernetes-apps/container_engine_accelerator
  90. when: nvidia_accelerator_enabled
  91. tags:
  92. - apps
  93. - container_engine_accelerator
  94. - role: kubernetes-apps/cloud_controller/oci
  95. when:
  96. - cloud_provider is defined
  97. - cloud_provider == "oci"
  98. - inventory_hostname == groups['kube-master'][0]
  99. tags:
  100. - oci
  101. - role: kubernetes-apps/metallb
  102. when:
  103. - metallb_enabled
  104. - inventory_hostname == groups['kube-master'][0]
  105. tags:
  106. - metallb