From 8ff28245889b0e42b8a6ccbb84be707828f2a09d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1ndor?= Date: Thu, 19 Sep 2024 16:12:54 +0200 Subject: [PATCH] Update playbooks/update-apt.yaml --- playbooks/update-apt.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/playbooks/update-apt.yaml b/playbooks/update-apt.yaml index 8e4d772..a24dbbd 100644 --- a/playbooks/update-apt.yaml +++ b/playbooks/update-apt.yaml @@ -1,6 +1,10 @@ -- name: Update and upgrade apt packages +--- +- hosts: all + become: true - apt: - upgrade: yes - update_cache: yes - cache_valid_time: 86400 + tasks: + - name: update apt packages + apt: + upgrade: yes + update_cache: yes + cache_valid_time: 86400 \ No newline at end of file