Fix the format of the list of images extracted from kubeadm (#11741)
The download role expect 'groups' be a list, in order to properly filter images.pull/11745/head
parent
83a340baf1
commit
2e145ffc12
|
@ -44,7 +44,8 @@
|
||||||
container: true
|
container: true
|
||||||
repo: "{{ item | regex_replace('^(.*):.*$', '\\1') }}"
|
repo: "{{ item | regex_replace('^(.*):.*$', '\\1') }}"
|
||||||
tag: "{{ item | regex_replace('^.*:(.*)$', '\\1') }}"
|
tag: "{{ item | regex_replace('^.*:(.*)$', '\\1') }}"
|
||||||
groups: k8s_cluster
|
groups:
|
||||||
|
- k8s_cluster
|
||||||
loop: "{{ kubeadm_images_list | flatten(levels=1) }}"
|
loop: "{{ kubeadm_images_list | flatten(levels=1) }}"
|
||||||
register: kubeadm_images_cooked
|
register: kubeadm_images_cooked
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
Loading…
Reference in New Issue