mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-28 22:06:31 +00:00
The pre-pull task set `async` unconditionally while gating only `poll`. With async disabled, `poll` became `omit` and ansible fell back to its built-in 15s poll while `async` still routed the task through async_wrapper: ansible collected the job itself and then ran `async_status mode=cleanup`, deleting the job file that tasks/utils/async/reap.yml expects to read. The reap reported a successful `ollama pull` as a failed async job, failing web-app-nextcloud 2 in run 30781723102. Both keys are now switched off together, matching all six peer call sites. On the resulting synchronous path the reap's `async_reap_tolerate` list no longer applies, so the tolerated "up to date" answer is carved out in `failed_when` instead. It keys on `failed` rather than `rc`, so a module-level failure that carries no rc is not swallowed. async_failures._which() now honours loop_control.loop_var: the fired result records the chosen name under `ansible_loop_var`, so a batch failure names `smollm2:135m` instead of the bare job id. A second lint case asserts that async and poll carry `omit` together - the rule this call site was the only one of seven to break. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>