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
|
- name: Download node-template images
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "{{ item.url }}"
|
url: "{{ item.url }}"
|
||||||
dest: /opt/workloadcluster/node-templates/{{ item.name }}
|
dest: /opt/workloadcluster/node-templates/{{ downstream.node_templates.prefix }}{{ item.name }}
|
||||||
loop: "{{ downstream.node_templates }}"
|
loop: "{{ downstream.node_templates.images }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.name }}"
|
label: "{{ downstream.node_templates.prefix }}{{ item.name }}"
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
downstream:
|
downstream:
|
||||||
|
|
||||||
node_templates:
|
node_templates:
|
||||||
|
prefix: NodeTmpl_
|
||||||
|
images:
|
||||||
- url: https://stable.release.flatcar-linux.net/amd64-usr/3227.2.0/flatcar_production_vmware_ova.ova
|
- url: https://stable.release.flatcar-linux.net/amd64-usr/3227.2.0/flatcar_production_vmware_ova.ova
|
||||||
name: flatcar.ova
|
name: flatcar.ova
|
||||||
|
Loading…
Reference in New Issue
Block a user