Files
Ansible-roles/unattended_upgrades/defaults/main.yml
T

24 lines
1.1 KiB
YAML

---
unattended_upgrades:
# Security updates only. Third-party repositories (Docker, Kopia, CrowdSec, NetBird, Proxmox, GitLab) stay out:
# an update of docker-ce or a pve package restarts every container or guest.
# Keyed by ansible_distribution; Debian lists go to Origins-Pattern, Ubuntu lists to Allowed-Origins.
origins_pattern:
Debian:
- origin=Debian,codename=${distro_codename}-security,label=Debian-Security
allowed_origins:
Ubuntu:
- ${distro_id}:${distro_codename}-security
- ${distro_id}ESMApps:${distro_codename}-apps-security
- ${distro_id}ESM:${distro_codename}-infra-security
# Regexes matched against the package name start. An upgrade of these makes needrestart/systemd restart every
# service at once, containerd included: the dead FUSE mounts hung systemd-resolved on antius, netbird lost DNS
# and the node went NotReady (2026-11-14). Upgrade them by hand with a reboot.
package_blacklist:
- libc6
- libc-bin
- systemd
# Recipient of the report mail; unset sends none, as no host has an outgoing mail setup.
mail:
mail_report: only-on-error