Merge vars_files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-11-08 20:17:36 +01:00
parent 1f4bbca7ec
commit 42d79a95ca
5 changed files with 7 additions and 11 deletions

View File

@ -3,7 +3,6 @@
gather_facts: false
vars_files:
- metacluster.yml
- workloadcluster.yml
become: true
roles:
- os

View File

@ -23,7 +23,7 @@
network: "{{ vcenter_info.network }}"
resourcepool: "{{ vcenter_info.resourcepool }}"
cluster:
nodetemplate: "{{ downstream.node_template.image.name }}"
nodetemplate: "{{ components.clusterapi.workload.node_template.name }}"
publickey: "{{ vapp['guestinfo.rootsshkey'] }}"
version: "{{ components.clusterapi.workload.version.k8s }}"
vip: "{{ vapp['workloadcluster.vip'] }}"

View File

@ -14,5 +14,5 @@
- name: Download node-template image
ansible.builtin.uri:
url: "{{ downstream.node_template.image.url }}"
dest: /opt/workloadcluster/node-templates/{{ downstream.node_template.image.name }}
url: "{{ components.clusterapi.workload.node_template.url }}"
dest: /opt/workloadcluster/node-templates/{{ components.clusterapi.workload.node_template.name }}

View File

@ -87,6 +87,10 @@ components:
workload:
version:
k8s: v1.23.5
node_template:
# Refer to `https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/v1.3.5/README.md#kubernetes-versions-with-published-ovas` for a list of supported node templates
url: https://storage.googleapis.com/capv-images/release/v1.23.5/ubuntu-2004-kube-v1.23.5.ova
name: ubuntu-2004-kube-v1.23.5.ova
gitea:
helm:

View File

@ -1,7 +0,0 @@
downstream:
node_template:
image:
# Refer to `https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/v1.3.5/README.md#kubernetes-versions-with-published-ovas` for a list of supported node templates
url: https://storage.googleapis.com/capv-images/release/v1.23.5/ubuntu-2004-kube-v1.23.5.ova
name: ubuntu-2004-kube-v1.23.5.ova