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.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/apt/tasks/main.yml b/roles/apt/tasks/main.yml
index 36b8b07..530519d 100644
--- a/roles/apt/tasks/main.yml
+++ b/roles/apt/tasks/main.yml
@@ -1,9 +1,9 @@
- name: Upgrade packages
become: true
ansible.builtin.apt:
- install_recommends: false
update_cache: true
upgrade: dist
+ install_recommends: false
notify: apt_reboot
- name: Reboot if necessary
@@ -19,9 +19,9 @@
- name: Install packages
become: true
ansible.builtin.apt:
- install_recommends: false
name: '{{ apt_packages }}'
state: present
+ install_recommends: false
- name: Configure unattended-upgrades
ansible.builtin.include_tasks: unattended_upgrades.yml