From 6276a7703ef4c1b45f4f2204192eab30ca8f4399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Lle=C3=B3=20Tom=C3=A1s?= Date: Fri, 17 Jan 2025 10:40:18 +0100 Subject: [PATCH 1/2] refs #8025: - Adding update cache before install --- roles/debian-qemu/tasks/autofs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/debian-qemu/tasks/autofs.yml b/roles/debian-qemu/tasks/autofs.yml index cc7815a..74e6045 100644 --- a/roles/debian-qemu/tasks/autofs.yml +++ b/roles/debian-qemu/tasks/autofs.yml @@ -1,3 +1,6 @@ +- name: Update apt cache + apt: + update_cache: yes - name: Install autofs packages apt: name: "{{ autofs_packages }}" From 28ae8c51b5ee13ce9c43b2397aeaedfc95ffa7fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Lle=C3=B3=20Tom=C3=A1s?= Date: Fri, 17 Jan 2025 11:06:58 +0100 Subject: [PATCH 2/2] refs #8025: Fix indentation and add cache update before installation --- roles/debian-qemu/tasks/autofs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/debian-qemu/tasks/autofs.yml b/roles/debian-qemu/tasks/autofs.yml index 74e6045..8ae6dde 100644 --- a/roles/debian-qemu/tasks/autofs.yml +++ b/roles/debian-qemu/tasks/autofs.yml @@ -1,5 +1,5 @@ - name: Update apt cache - apt: + apt: update_cache: yes - name: Install autofs packages apt: