fix(ci): harden Molecule download and cleanup

- Retry transient k3s release downloads with bounded backoff.\n- Bound failure diagnostics and validate guest release connectivity.\n- Discover repository-owned Molecule state under the actual project root.
This commit is contained in:
Timothy Stewart authored and Techno Tim committed 2026-08-01 12:27:12 -05:00
1 parent 5bc347aed4
commit 87ea8160c1
6 files changed
+69 -10

No files matched your search

+12
View File
@@ -7,6 +7,10 @@
owner: root
group: root
mode: "0755"
register: k3s_download_x64
retries: 5
delay: 10
until: k3s_download_x64 is succeeded
when: ansible_facts.architecture == "x86_64"
- name: Download k3s binary arm64
@@ -17,6 +21,10 @@
owner: root
group: root
mode: "0755"
register: k3s_download_arm64
retries: 5
delay: 10
until: k3s_download_arm64 is succeeded
when:
- ( ansible_facts.architecture is search("arm") and ansible_facts.userspace_bits == "64" )
or ansible_facts.architecture is search("aarch64")
@@ -29,6 +37,10 @@
owner: root
group: root
mode: "0755"
register: k3s_download_armhf
retries: 5
delay: 10
until: k3s_download_armhf is succeeded
when:
- ansible_facts.architecture is search("arm")
- ansible_facts.userspace_bits == "32"