aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt/templates/02periodic.j2
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-11 09:17:50 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-11 19:04:51 +0200
commit1c363a140e3cbc2ed96eeb372cf3abfdb642d3f0 (patch)
treee554df64114e323902d360ce627f22a04e2e1745 /roles/apt/templates/02periodic.j2
parentjournald: parametrize the log level (diff)
downloadinfra-ansible-1c363a140e3cbc2ed96eeb372cf3abfdb642d3f0.tar.gz
infra-ansible-1c363a140e3cbc2ed96eeb372cf3abfdb642d3f0.zip
apt: configure unattended-upgrades
Diffstat (limited to 'roles/apt/templates/02periodic.j2')
-rw-r--r--roles/apt/templates/02periodic.j26
1 files changed, 6 insertions, 0 deletions
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";