]> git.phdru.name Git - ansible.git/blob - playbooks/debian-update-all-apt.yml
Add a playbook to update debian systems using apt
[ansible.git] / playbooks / debian-update-all-apt.yml
1 - hosts: all
2   name: Update Debian systems with apt
3   become: yes
4   gather_facts: false
5   tasks:
6     - name: Updating host using apt
7       apt:
8         update_cache: yes
9         upgrade: dist
10     - name: Clean unwanted olderstuff
11       apt:
12         autoremove: yes
13         purge: yes