From 3d2e1f67e32fb869d7291d6b66bfde9824d666bc Mon Sep 17 00:00:00 2001 From: Calvin Steenbergen Date: Thu, 3 Apr 2025 18:57:45 +0200 Subject: [PATCH] new file --- linux-update.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 linux-update.yaml diff --git a/linux-update.yaml b/linux-update.yaml new file mode 100644 index 0000000..061ef8a --- /dev/null +++ b/linux-update.yaml @@ -0,0 +1,12 @@ +--- +- hosts: "{{ target_hosts }}" + become: true + tasks: + - name: Update apt cache + ansible.builtin.apt: + update_cache: true + + - name: Upgrade all packages + ansible.builtin.apt: + upgrade: dist + autoremove: true \ No newline at end of file