feat(system_baseline): add an update toggle and pin the pve unattended-upgrades origins #142

Merged
Defame1297 merged 3 commits from feat/system-baseline-update-toggle into main 2026-11-15 07:16:33 +00:00
3 Commits
Author SHA1 Message Date
Defame1297 5655a37bbd Merge branch 'main' into feat/system-baseline-update-toggle
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 36s
Molecule / molecule (pull_request) Successful in 1m46s
2026-11-15 07:13:57 +00:00
Defame1297andClaude Opus 5.5 4d02dbbe60 fix(system_baseline): refuse a mapping as origins and document the pin's reach
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 1m43s
The origins check now refuses a dict, which Jinja's sequence test accepts.
The changelog states that the pve drop-in drops origins added in earlier
apt.conf.d files and names the opt-out; the README and the drop-in header
note that /etc/apt/apt.conf, read after apt.conf.d, can still add origins;
the verify play notes that the pve run rewrites the 50unattended-upgrades
keys and the ubuntu_lxc re-run restores them.

Refs defame1297/ansible-homelab-mono#349

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-14 22:23:49 +00:00
Defame1297andClaude Opus 5.5 52d06204bb feat(system_baseline): add an update toggle and pin the pve unattended-upgrades origins
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 35s
Molecule / molecule (pull_request) Successful in 1m46s
system_baseline_update (default true) lets the main flow skip the package
update for hosts patched by a separate, operator-run flow. The update entry
point does not read it: calling it is the request to update.

The new profile key unattended_upgrade_origins is rendered into
/etc/apt/apt.conf.d/90unattended-upgrades-origins, which #clears both
origin lists before setting the pinned patterns, because apt appends list
entries across files and a plain drop-in could only widen them. The pve
profile pins Debian's point-release and security origins, never the
Proxmox repository; the ubuntu profiles pin nothing and are unchanged.

Refs defame1297/ansible-homelab-mono#349

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-14 22:11:36 +00:00