2022-11-24 09:59:41 +00:00
|
|
|
- name: Create folder structure(s)
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
loop:
|
2023-01-04 14:36:20 +00:00
|
|
|
- /etc/rancher/k3s
|
2022-11-24 09:59:41 +00:00
|
|
|
- /opt/metacluster/cluster-api/bootstrap-kubeadm/{{ components.clusterapi.management.version.base }}
|
|
|
|
- /opt/metacluster/cluster-api/cert-manager/{{ components.clusterapi.management.version.cert_manager }}
|
|
|
|
- /opt/metacluster/cluster-api/cluster-api/{{ components.clusterapi.management.version.base }}
|
2022-11-28 09:25:25 +00:00
|
|
|
- /opt/metacluster/cluster-api/cni-calico/{{ components.clusterapi.workload.version.calico }}
|
2022-11-24 09:59:41 +00:00
|
|
|
- /opt/metacluster/cluster-api/control-plane-kubeadm/{{ components.clusterapi.management.version.base }}
|
|
|
|
- /opt/metacluster/cluster-api/infrastructure-vsphere/{{ components.clusterapi.management.version.infrastructure_vsphere }}
|
2022-12-10 15:56:13 +00:00
|
|
|
- /opt/metacluster/cluster-api/ipam-in-cluster/{{ components.clusterapi.management.version.ipam_incluster }}
|
2022-11-24 09:59:41 +00:00
|
|
|
- /opt/metacluster/container-images
|
2023-03-25 15:58:23 +00:00
|
|
|
- /opt/metacluster/git-repositories
|
2022-11-24 09:59:41 +00:00
|
|
|
- /opt/metacluster/helm-charts
|
|
|
|
- /opt/metacluster/k3s
|
2023-01-21 15:12:11 +00:00
|
|
|
- /opt/metacluster/kube-vip
|
2023-04-03 15:25:45 +00:00
|
|
|
- /opt/workloadcluster/git-repositories/gitops/charts
|
|
|
|
- /opt/workloadcluster/git-repositories/gitops/values
|
2023-03-28 11:49:18 +00:00
|
|
|
- /opt/workloadcluster/helm-charts
|
|
|
|
- /opt/workloadcluster/node-templates
|
2022-11-24 09:59:41 +00:00
|
|
|
- /var/lib/rancher/k3s/agent/images
|
|
|
|
- /var/lib/rancher/k3s/server/manifests
|
|
|
|
|
|
|
|
- import_tasks: dependencies.yml
|
|
|
|
- import_tasks: k3s.yml
|
|
|
|
- import_tasks: helm.yml
|
2023-02-13 21:13:22 +00:00
|
|
|
# - import_tasks: git.yml
|
2022-11-28 15:58:56 +00:00
|
|
|
- import_tasks: manifests.yml
|
2022-12-31 12:11:33 +00:00
|
|
|
- import_tasks: kubeadm.yml
|
2022-11-24 09:59:41 +00:00
|
|
|
- import_tasks: containerimages.yml
|
|
|
|
- import_tasks: nodetemplates.yml
|