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
This commit is contained in:
1 parent
52d06204bb
commit
4d02dbbe60
5 files changed
+10
-4
No files matched your search
@@ -213,7 +213,8 @@
|
||||
# The pve origins pin, run on this Ubuntu host: Ubuntu's 50unattended-upgrades sets Allowed-Origins, so the merged
|
||||
# configuration showing only the pinned patterns proves the drop-in clears the earlier lists instead of appending to them.
|
||||
# The patterns match no Ubuntu origin, which only means nothing would be upgraded; the role's dry run still passes. Here
|
||||
# and not in converge, because switching profiles and back would not be idempotent.
|
||||
# and not in converge, because switching profiles and back would not be idempotent. Applying the pve profile also rewrites
|
||||
# the 50unattended-upgrades keys (Automatic-Reboot-Time 03:00); the ubuntu_lxc re-run at the end restores them.
|
||||
- name: The pve profile pins the unattended-upgrades origins
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
|
||||
Reference in new issue
Block a user