aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/apt/defaults/main.yml1
-rw-r--r--roles/apt/tasks/main.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/apt/defaults/main.yml b/roles/apt/defaults/main.yml
index 0026b08..7e833ce 100644
--- a/roles/apt/defaults/main.yml
+++ b/roles/apt/defaults/main.yml
@@ -1,3 +1,4 @@
apt_extra_packages: []
+apt_unattended: true
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 6511c44..5d45adb 100644
--- a/roles/apt/tasks/main.yml
+++ b/roles/apt/tasks/main.yml
@@ -28,3 +28,4 @@
- name: Configure unattended-upgrades
ansible.builtin.include_tasks: unattended_upgrades.yml
+ when: apt_unattended