aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apt/tasks/main.yml')
-rw-r--r--roles/apt/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml
index 530519d..b9bb12b 100644
--- a/roles/apt/tasks/main.yml
+++ b/roles/apt/tasks/main.yml
@@ -22,6 +22,7 @@
name: '{{ apt_packages }}'
state: present
install_recommends: false
+ when: apt_packages | length > 0
- name: Configure unattended-upgrades
ansible.builtin.include_tasks: unattended_upgrades.yml