From: Oleg Broytman Date: Fri, 28 Jun 2019 22:23:45 +0000 (+0300) Subject: Feat(debian-update-all-apt): Update all packages X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=a8c45747b0a07371579c8117a69899176684c4d6;p=ansible.git Feat(debian-update-all-apt): Update all packages Update all installed packages to the latest state. --- 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