Optimize node template handling
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3d96f8c13b
commit
fc51bf3f94
@ -15,7 +15,7 @@
|
||||
- name: Download node-template images
|
||||
ansible.builtin.uri:
|
||||
url: "{{ item.url }}"
|
||||
dest: /opt/workloadcluster/node-templates/{{ item.name }}
|
||||
loop: "{{ downstream.node_templates }}"
|
||||
dest: /opt/workloadcluster/node-templates/{{ downstream.node_templates.prefix }}{{ item.name }}
|
||||
loop: "{{ downstream.node_templates.images }}"
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
label: "{{ downstream.node_templates.prefix }}{{ item.name }}"
|
||||
|
@ -1,5 +1,7 @@
|
||||
downstream:
|
||||
|
||||
node_templates:
|
||||
- url: https://stable.release.flatcar-linux.net/amd64-usr/3227.2.0/flatcar_production_vmware_ova.ova
|
||||
name: flatcar.ova
|
||||
prefix: NodeTmpl_
|
||||
images:
|
||||
- url: https://stable.release.flatcar-linux.net/amd64-usr/3227.2.0/flatcar_production_vmware_ova.ova
|
||||
name: flatcar.ova
|
||||
|
Loading…
Reference in New Issue
Block a user