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
@@ -4,6 +4,7 @@
|
||||
name: "{{ __system_baseline_install_packages }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
become: true
|
||||
|
||||
- name: Gather installed packages
|
||||
|
||||
Reference in new issue
Block a user