Packer.Images/ansible/roles/assets/tasks/main.yml

34 lines
1.5 KiB
YAML
Raw Normal View History

2022-11-24 09:59:41 +00:00
- name: Create folder structure(s)
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /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 }}
- /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 }}
- /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
- /opt/metacluster/git-repositories
2022-11-24 09:59:41 +00:00
- /opt/metacluster/helm-charts
- /opt/metacluster/k3s
- /opt/metacluster/kube-vip
- /opt/workloadcluster/git-repositories/gitops/charts
- /opt/workloadcluster/git-repositories/gitops/values
- /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
# - 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