feat(system_baseline): add an update toggle and pin the pve unattended-upgrades origins
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
This commit is contained in:
1 parent
8a3c7d0fc2
commit
52d06204bb
10 files changed
+181
-7
No files matched your search
@@ -0,0 +1,11 @@
|
||||
---
|
||||
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. The ``ubuntu_lxc`` and ``ubuntu_vm`` profiles pin nothing and are unchanged.
|
||||
Reference in new issue
Block a user