fix: clean up Ansible bootstrap warnings
Deploy Cluster / Terraform (push) Successful in 27s
Deploy Cluster / Ansible (push) Has been cancelled

This commit is contained in:
2026-04-24 11:07:13 +00:00
parent 68b293efe4
commit c89c31adea
3 changed files with 12 additions and 7 deletions
@@ -1,15 +1,19 @@
---
- name: Pre-pull bootstrap images into containerd
command: /usr/local/bin/ctr -n k8s.io images pull {{ item }}
command: timeout 180s /usr/local/bin/ctr -n k8s.io images pull {{ item }}
register: bootstrap_image_pull
loop: "{{ bootstrap_prepull_images }}"
retries: 6
delay: 20
until: bootstrap_image_pull.rc == 0
changed_when: bootstrap_image_pull.rc == 0
failed_when: false
- name: Report bootstrap images that did not pre-pull
- name: Report bootstrap images that did not pre-pull after retries
debug:
msg: >-
Bootstrap image pre-pull failed for {{ item.item }}: {{ item.stderr | default('no stderr') }}
Best-effort bootstrap image pre-pull did not complete for {{ item.item }} after
{{ item.attempts | default(1) }} attempt(s): {{ item.stderr | default('no stderr') }}
loop: "{{ bootstrap_image_pull.results | default([]) }}"
loop_control:
label: "{{ item.item }}"