Add role/playbook for updating Debian packages

This commit is contained in:
2025-04-27 07:29:56 -05:00
parent bd62bc116e
commit 001635914e
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
- name: Update apt cache
ansible.builtin.apt:
update_cache: yes
cache_valid_time: 3600
- name: Upgrade all packages to latest
ansible.builtin.apt:
upgrade: dist
autoremove: yes
autoclean: yes