Files
Kamino/changelogs/fragments/apt-cache-valid-time.yml
T
Defame1297 0973f39831
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 2m18s
Molecule / molecule (pull_request) Canceled after 26m49s
feat: refresh the APT cache on distribution-only installs when stale
The docker prerequisites and the system_baseline packages install only
from the distribution's sources, yet refreshed the APT cache on every
run. They now pass cache_valid_time: 3600, as the system_baseline update
task and user_management already do.

The docker and tailscale installs from the role's own APT source keep
refreshing on every run, so a run that wrote the source line but failed
to fetch its lists heals on the next run. The update entry points are
unchanged.

The system_baseline README tells a consumer who adds a source just
before the role to refresh the cache themselves.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 15:10:32 +00:00

8 lines
339 B
YAML

---
minor_changes:
- >-
docker, system_baseline - The install tasks that only use the distribution's sources (docker's
prerequisites, system_baseline's packages) refresh the APT cache only when it is older than an
hour; before, every run refreshed it. Installs from a role's own APT source still refresh it on
every run.