From a8c45747b0a07371579c8117a69899176684c4d6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 29 Jun 2019 01:23:45 +0300 Subject: [PATCH] Feat(debian-update-all-apt): Update all packages Update all installed packages to the latest state. --- playbooks/debian-update-all-apt.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/playbooks/debian-update-all-apt.yml b/playbooks/debian-update-all-apt.yml index 23a3d5d..8422c48 100644 --- a/playbooks/debian-update-all-apt.yml +++ b/playbooks/debian-update-all-apt.yml @@ -5,9 +5,10 @@ tasks: - name: Updating host using apt apt: - update_cache: yes - upgrade: dist - - name: Clean unwanted olderstuff - apt: + autoclean: yes autoremove: yes + install_recommends: no + name: "*" purge: yes + state: latest + update_cache: yes -- 2.39.5