From 1c363a140e3cbc2ed96eeb372cf3abfdb642d3f0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 11 Aug 2023 09:17:50 +0200 Subject: apt: configure unattended-upgrades --- roles/apt/templates/02periodic.j2 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/apt/templates/02periodic.j2 (limited to 'roles/apt/templates/02periodic.j2') diff --git a/roles/apt/templates/02periodic.j2 b/roles/apt/templates/02periodic.j2 new file mode 100644 index 0000000..0c26a8f --- /dev/null +++ b/roles/apt/templates/02periodic.j2 @@ -0,0 +1,6 @@ +APT::Periodic::Enable "1"; +APT::Periodic::Update-Package-Lists "1"; +APT::Periodic::Download-Upgradeable-Packages "1"; +APT::Periodic::Unattended-Upgrade "1"; +APT::Periodic::AutocleanInterval "7"; +APT::Periodic::Verbose "2"; -- cgit v1.2.3