From 1982bb584dccd51d799c580b00202a2bbc8d4735 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Thu, 13 Aug 2026 17:38:05 +0200 Subject: [PATCH] fix: Install tasks with sudo --- tasks/installation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/installation.yml b/tasks/installation.yml index 9abded0..98e94cf 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -3,6 +3,6 @@ - name: Install nftables ansible.builtin.apt: - state: present name: nftables - when: ansible_facts['pkg_mgr'] == "apt" + update_cache: true + become: true