From 813d6c0dbea997fbe36a9b437f45bf4d6e082ac4 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 22 Aug 2024 08:54:47 +0200 Subject: [PATCH] packages: only update the package cache on CentOS (#703) Signed-off-by: Christian Berendt --- roles/packages/tasks/package-RedHat-family.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/packages/tasks/package-RedHat-family.yml b/roles/packages/tasks/package-RedHat-family.yml index e3dcc620..e7aadbf2 100644 --- a/roles/packages/tasks/package-RedHat-family.yml +++ b/roles/packages/tasks/package-RedHat-family.yml @@ -4,6 +4,7 @@ ansible.builtin.dnf: name: '*' update_cache: true + update_only: true state: latest lock_timeout: "{{ dnf_lock_timeout | default(300) }}" tags: