add: upgrade all playbook

This commit is contained in:
2023-04-16 13:26:43 +02:00
parent 4b4f4666a3
commit 91c132fb1d

7
upgrade-all.yaml Normal file
View File

@@ -0,0 +1,7 @@
---
- hosts: all
tasks:
- name: Update apt-get repo and cache
apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
- name: Upgrade all apt packages
apt: upgrade=dist force_apt_get=yes