add on-off-playbook: apt autoremove (#620)
Reviewed-on: #620 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
f201aaef06
commit
a091463e8e
1 changed files with 7 additions and 0 deletions
7
playbooks/on-off/autoremove.yml
Normal file
7
playbooks/on-off/autoremove.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: apt autoremove
|
||||||
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
autoremove: true
|
Loading…
Reference in a new issue