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.

148 lines
3.4 KiB

  1. ---
  2. dependencies:
  3. - role: kubernetes-apps/ansible
  4. when:
  5. - inventory_hostname == groups['kube_control_plane'][0]
  6. - role: kubernetes-apps/helm
  7. when:
  8. - helm_enabled
  9. tags:
  10. - helm
  11. - role: kubernetes-apps/krew
  12. when:
  13. - krew_enabled
  14. tags:
  15. - krew
  16. - role: kubernetes-apps/registry
  17. when:
  18. - registry_enabled
  19. - inventory_hostname == groups['kube_control_plane'][0]
  20. tags:
  21. - registry
  22. - role: kubernetes-apps/metrics_server
  23. when:
  24. - metrics_server_enabled
  25. - inventory_hostname == groups['kube_control_plane'][0]
  26. tags:
  27. - metrics_server
  28. - role: kubernetes-apps/csi_driver/csi_crd
  29. when:
  30. - cinder_csi_enabled or csi_snapshot_controller_enabled
  31. - inventory_hostname == groups['kube_control_plane'][0]
  32. tags:
  33. - csi-driver
  34. - role: kubernetes-apps/csi_driver/cinder
  35. when:
  36. - cinder_csi_enabled
  37. tags:
  38. - cinder-csi-driver
  39. - csi-driver
  40. - role: kubernetes-apps/csi_driver/aws_ebs
  41. when:
  42. - aws_ebs_csi_enabled
  43. tags:
  44. - aws-ebs-csi-driver
  45. - csi-driver
  46. - role: kubernetes-apps/csi_driver/azuredisk
  47. when:
  48. - azure_csi_enabled
  49. tags:
  50. - azure-csi-driver
  51. - csi-driver
  52. - role: kubernetes-apps/csi_driver/gcp_pd
  53. when:
  54. - gcp_pd_csi_enabled
  55. tags:
  56. - gcp-pd-csi-driver
  57. - csi-driver
  58. - role: kubernetes-apps/csi_driver/upcloud
  59. when:
  60. - upcloud_csi_enabled
  61. tags:
  62. - upcloud-csi-driver
  63. - csi-driver
  64. - role: kubernetes-apps/csi_driver/vsphere
  65. when:
  66. - vsphere_csi_enabled
  67. tags:
  68. - vsphere-csi-driver
  69. - csi-driver
  70. - role: kubernetes-apps/persistent_volumes
  71. when:
  72. - persistent_volumes_enabled
  73. - inventory_hostname == groups['kube_control_plane'][0]
  74. tags:
  75. - persistent_volumes
  76. - role: kubernetes-apps/snapshots
  77. when: inventory_hostname == groups['kube_control_plane'][0]
  78. tags:
  79. - snapshots
  80. - csi-driver
  81. - role: kubernetes-apps/container_runtimes
  82. when:
  83. - inventory_hostname == groups['kube_control_plane'][0]
  84. tags:
  85. - container-runtimes
  86. - role: kubernetes-apps/container_engine_accelerator
  87. when: nvidia_accelerator_enabled
  88. tags:
  89. - container_engine_accelerator
  90. - role: kubernetes-apps/cloud_controller/oci
  91. when:
  92. - cloud_provider is defined
  93. - cloud_provider == "oci"
  94. - inventory_hostname == groups['kube_control_plane'][0]
  95. tags:
  96. - oci
  97. - role: kubernetes-apps/gateway_api
  98. when:
  99. - gateway_api_enabled
  100. - inventory_hostname == groups['kube_control_plane'][0]
  101. tags:
  102. - gateway_api
  103. - role: kubernetes-apps/metallb
  104. when:
  105. - metallb_enabled
  106. - inventory_hostname == groups['kube_control_plane'][0]
  107. tags:
  108. - metallb
  109. - role: kubernetes-apps/argocd
  110. when:
  111. - argocd_enabled
  112. - inventory_hostname == groups['kube_control_plane'][0]
  113. tags:
  114. - argocd
  115. - role: kubernetes-apps/scheduler_plugins
  116. when:
  117. - scheduler_plugins_enabled
  118. - kube_major_version is version('v1.29', '<')
  119. - inventory_hostname == groups['kube_control_plane'][0]
  120. tags:
  121. - scheduler_plugins
  122. - role: kubernetes-apps/node_feature_discovery
  123. when:
  124. - node_feature_discovery_enabled
  125. - inventory_hostname == groups['kube_control_plane'][0]
  126. tags:
  127. - node_feature_discovery