Add initial steps for workload cluster staging;Include govc (temporarily)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-26 16:50:50 +02:00
parent d986d5ab25
commit ea20b1290c
5 changed files with 27 additions and 1 deletions

View File

@ -1,11 +1,14 @@
- name: Pre-stage K3s components
import_tasks: k3s.yml
- name: Pre-stage meta components
- name: Pre-stage meta-cluster components
import_tasks: components.yml
- name: Pre-stage IaC repositories
import_tasks: config.yml
- name: Pre-stage workload-cluster components
import_tasks: staging.yml
- name: Cleanup
import_tasks: cleanup.yml

View File

@ -0,0 +1,14 @@
- name: Create folder structure(s)
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /opt/workloadcluster/node-templates
- name: Download images
ansible.builtin.uri:
url: "{{ item.url }}"
dest: /opt/workloadcluster/node-templates/{{ item.name }}
loop: "{{ downstream.node_templates }}"
loop_control:
label: "{{ item.name }}"