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
This commit is contained in:
1 parent
6e3ea4521b
commit
0973f39831
4 files changed
+11
No files matched your search
@@ -0,0 +1,7 @@
|
||||
---
|
||||
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.
|
||||
Reference in new issue
Block a user