X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian-update-all-apt.yml;h=8422c489fdd79ce753cc86e0f0c1e8e288956e7e;hb=865e416b33a66d5baa6301316a03be19984bc6d0;hp=23a3d5dafec4e1942c10d6d70cfb01a1317b7c14;hpb=4a7a82c49e38ba558bb6dc941e9dec61ddeca7dc;p=ansible.git 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