Debian/Ubuntu: autoclean and autoremove packages when dist-upgrading.
This commit is contained in:
parent
58e596ed5d
commit
32695a0a33
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Dist upgrade, if requested
|
||||
apt: upgrade=dist update_cache=yes cache_valid_time=1800
|
||||
apt: upgrade=dist update_cache=yes cache_valid_time=1800 autoclean=yes autoremove=yes
|
||||
when: dist_upgrade
|
||||
tags: [ 'packages', 'upgrade', 'dist_upgrade' ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue