From a3bf2f4fb672e75b25bfa3af220fe8a109f5533d Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Fri, 15 Nov 2024 18:13:25 +0100 Subject: [PATCH] Fix tests --- tests/install.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/install.yml b/tests/install.yml index 26a2f97..7c5fcbf 100644 --- a/tests/install.yml +++ b/tests/install.yml @@ -1,4 +1,10 @@ --- +- name: Update APT cache + apt: + update_cache: true + register: noobient_apt_cache_updated + when: ansible_os_family == 'Debian' and noobient_apt_cache_updated is not defined + - name: Install WordPress dependencies package: name: "{{ packages }}"