From 218de16174d69a568edf3abee95794575885f407 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 19 Sep 2023 15:15:29 +0200 Subject: get rid of install_recommends=false for apt packages It will help to switch to the generic ansible.builtin.package module; it is also better to configure it globally anyway. --- roles/apt/tasks/main.yml | 2 -- 1 file changed, 2 deletions(-) (limited to 'roles/apt/tasks/main.yml') diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml index 6e6004a..d84a687 100644 --- a/roles/apt/tasks/main.yml +++ b/roles/apt/tasks/main.yml @@ -3,7 +3,6 @@ ansible.builtin.apt: update_cache: true upgrade: dist - install_recommends: false notify: apt_reboot - name: Reboot if necessary @@ -20,7 +19,6 @@ ansible.builtin.apt: name: '{{ apt_packages }}' state: present - install_recommends: false when: apt_packages | length > 0 - name: Configure unattended-upgrades -- cgit v1.2.3