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
12 lines
708 B
Django/Jinja
12 lines
708 B
Django/Jinja
// Managed by Ansible (mortis.kamino.system_baseline, tasks/unattended_upgrades.yml). Do not edit: the next run overwrites it.
|
|
// apt appends list entries across apt.conf.d files, so listing origins here would only widen those of 50unattended-upgrades.
|
|
// This file sorts after it, clears both origin lists, and sets the only origins unattended-upgrades may install from.
|
|
// A file that sorts after this one, and /etc/apt/apt.conf (read after apt.conf.d), can still add origins.
|
|
#clear Unattended-Upgrade::Allowed-Origins;
|
|
#clear Unattended-Upgrade::Origins-Pattern;
|
|
Unattended-Upgrade::Origins-Pattern {
|
|
{% for origin in system_baseline_unattended_upgrade_origins %}
|
|
"{{ origin }}";
|
|
{% endfor %}
|
|
};
|