forked from tim/k3s-ansible
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:
committed by
Techno Tim
parent
5bc347aed4
commit
87ea8160c1
@@ -4,8 +4,11 @@
|
||||
|
||||
- name: Fetch k3s-init.service logs
|
||||
ansible.builtin.command:
|
||||
cmd: journalctl --all --unit=k3s-init.service
|
||||
cmd: >-
|
||||
timeout --signal=TERM 30s journalctl --no-pager
|
||||
--unit=k3s-init.service --since=-30min --lines=5000
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
register: k3s_init_log
|
||||
|
||||
- name: Create {{ log_destination }}
|
||||
|
||||
Reference in New Issue
Block a user