X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=playbooks%2Fdebian-update-all-apt.yml;fp=playbooks%2Fdebian-update-all-apt.yml;h=a804438405d8e715fcdace7845cc27c46da5af41;hb=073b6e2b787792bb333d10a4e3efbab34ae25992;hp=0000000000000000000000000000000000000000;hpb=d4b401c0b035b6a3bb7a83334eead11f836c9c87;p=ansible.git diff --git a/playbooks/debian-update-all-apt.yml b/playbooks/debian-update-all-apt.yml new file mode 100644 index 0000000..a804438 --- /dev/null +++ b/playbooks/debian-update-all-apt.yml @@ -0,0 +1,13 @@ +- hosts: all + name: Update Debian systems with apt + become: yes + gather_facts: false + tasks: + - name: Updating host using apt + apt: + update_cache: yes + upgrade: dist + - name: Clean unwanted olderstuff + apt: + autoremove: yes + purge: yes