source: main/waeup-ansible/playbook-autoremove.yml @ 17652

Last change on this file since 17652 was 15357, checked in by uli, 6 years ago

Add a cleanup script.

File size: 287 bytes
Line 
1---
2# This ansible-playbook runs
3#   apt autoremove --purge on all hosts
4#
5# Sample:
6#
7#   $ ansible-playbook -i hosts playbook-autoremove.yml
8#
9
10- hosts: all
11  become: yes
12  become_user: root
13  tasks:
14  - name: "autoremove packages"
15    apt:
16        autoremove: yes
17        purge: yes
Note: See TracBrowser for help on using the repository browser.