aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt/tasks/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-09-19 15:15:29 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-09-19 15:15:32 +0200
commit218de16174d69a568edf3abee95794575885f407 (patch)
tree41ea8bd9a3bb39165113e5bfeb9822d4d09db85f /roles/apt/tasks/main.yml
parentsystemd_depend_*: don't restart services (diff)
downloadinfra-ansible-218de16174d69a568edf3abee95794575885f407.tar.gz
infra-ansible-218de16174d69a568edf3abee95794575885f407.zip
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.
Diffstat (limited to '')
-rw-r--r--roles/apt/tasks/main.yml2
1 files changed, 0 insertions, 2 deletions
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