aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-11-03 14:33:47 +0100
committerEgor Tensin <egor@tensin.name>2024-11-03 14:39:55 +0100
commitbdcabbe81fea5c159f3d7553860c7fdf51d8fec8 (patch)
tree5d95876a94ac3886ab407e16d2df88d2a323076c /roles/apt
parentv3.0.1 (diff)
downloadinfra-ansible-bdcabbe81fea5c159f3d7553860c7fdf51d8fec8.tar.gz
infra-ansible-bdcabbe81fea5c159f3d7553860c7fdf51d8fec8.zip
split out debian_server from debian_cloud_server
Additionally, some refactoring.
Diffstat (limited to 'roles/apt')
-rw-r--r--roles/apt/defaults/main.yml2
-rw-r--r--roles/apt/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/apt/defaults/main.yml b/roles/apt/defaults/main.yml
index 900172f..2c0fef4 100644
--- a/roles/apt/defaults/main.yml
+++ b/roles/apt/defaults/main.yml
@@ -1,4 +1,4 @@
apt_packages: []
-apt_unattended: false
+apt_unattended_upgrades: false
apt_unattended_reboot: true
apt_unattended_reboot_time: "02:00"
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml
index e24430f..871d055 100644
--- a/roles/apt/tasks/main.yml
+++ b/roles/apt/tasks/main.yml
@@ -23,4 +23,4 @@
- name: Configure unattended-upgrades
ansible.builtin.include_tasks: unattended_upgrades.yml
- when: apt_unattended
+ when: apt_unattended_upgrades