25 lines
1.1 KiB
YAML
25 lines
1.1 KiB
YAML
|
- name: Create folder structure(s)
|
||
|
ansible.builtin.file:
|
||
|
path: "{{ item }}"
|
||
|
state: directory
|
||
|
loop:
|
||
|
- /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 }}
|
||
|
- /opt/metacluster/cluster-api/control-plane-kubeadm/{{ components.clusterapi.management.version.base }}
|
||
|
- /opt/metacluster/cluster-api/infrastructure-vsphere/{{ components.clusterapi.management.version.infrastructure_vsphere }}
|
||
|
- /opt/metacluster/container-images
|
||
|
- /opt/metacluster/git-repositories/gitops
|
||
|
- /opt/metacluster/helm-charts
|
||
|
- /opt/metacluster/k3s
|
||
|
- /opt/workloadcluster/node-templates
|
||
|
- /var/lib/rancher/k3s/agent/images
|
||
|
- /var/lib/rancher/k3s/server/manifests
|
||
|
|
||
|
- import_tasks: dependencies.yml
|
||
|
- import_tasks: k3s.yml
|
||
|
- import_tasks: helm.yml
|
||
|
- import_tasks: git
|
||
|
- import_tasks: containerimages.yml
|
||
|
- import_tasks: nodetemplates.yml
|