Files
Kamino/changelogs/fragments/system-baseline-update-toggle.yml
T
Defame1297andClaude Opus 5.5 4d02dbbe60
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 1m43s
fix(system_baseline): refuse a mapping as origins and document the pin's reach
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

16 lines
1.2 KiB
YAML

---
minor_changes:
- >-
system_baseline - add ``system_baseline_update`` (default ``true``). With ``false`` the main flow skips the package
update, for hosts patched by a separate flow. The ``update`` entry point does not read it.
- >-
system_baseline - add the profile key ``unattended_upgrade_origins`` (resolved as ``system_baseline_unattended_upgrade_origins``).
A non-empty list is written to ``/etc/apt/apt.conf.d/90unattended-upgrades-origins``, which clears the earlier
``Allowed-Origins`` and ``Origins-Pattern`` lists and allows only the listed patterns. The ``pve`` profile now pins Debian's
point-release and security origins, so the Proxmox repository is never upgraded unattended and a future Debian default
cannot widen the set. On ``pve`` hosts this also removes any origin an operator added in ``50unattended-upgrades`` or
another earlier ``apt.conf.d`` file (``Allowed-Origins`` included). To keep them, opt out with
``system_baseline_profile_overrides: {pve: {unattended_upgrade_origins: []}}`` or set
``system_baseline_unattended_upgrade_origins: []``; the role then removes the drop-in. The ``ubuntu_lxc`` and
``ubuntu_vm`` profiles pin nothing and are unchanged.