From b44ae4a6124b7af4e9964bf9c2f28a93571b417a Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Mon, 27 Nov 2023 21:17:12 +0100 Subject: [PATCH] feat: use become for handler --- handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index c7c3d61..1417c64 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -3,5 +3,5 @@ - name: "Update repositories caches" ansible.builtin.apt: update_cache: true - # cache_valid_time: 3600 + become: true listen: "debian-based-cache-update"