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