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 }}"