From 8ca986e38223c3670391a8563faa0a69aa5b7cc7 Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Sat, 4 May 2024 16:31:38 +0200 Subject: [PATCH] molecule apt-cache fix --- molecule/default/prepare.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index f696c09..4325701 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -2,14 +2,17 @@ - name: Prepare hosts: all + gather_facts: no tasks: - name: Installing Role dependencies ansible.builtin.apt: name: ['kmod'] state: present + update_cache: true - name: Prepare tester hosts: test-ag-nftables-tester + gather_facts: no tasks: - name: Installing testing utils ansible.builtin.apt: