From ac8045681bc6a3589521a0c6e6841e48eeb9493a Mon Sep 17 00:00:00 2001 From: Brayden Schultz Date: Wed, 30 Jul 2025 11:29:25 +0930 Subject: [PATCH] actually added update.yml --- update.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 update.yml diff --git a/update.yml b/update.yml new file mode 100644 index 0000000..bbd7963 --- /dev/null +++ b/update.yml @@ -0,0 +1,16 @@ +--- +- name: Update and upgrade all servers + hosts: all + become: yes + + tasks: + - name: Update apt cache + apt: + update_cache: yes + cache_valid_time: 3600 + + - name: Upgrade all packages + apt: + upgrade: dist + autoremove: yes + autoclean: yes