From ef5ee26c2310a3ccf69ab0cc9d12039730adcd5f Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Mon, 18 Nov 2024 19:49:01 +0100 Subject: [PATCH] Added timeout for index cache update --- tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 3168189..3faf414 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -9,12 +9,14 @@ - name: Update index files package: update_cache: true + timeout: 120 when: ansible_pkg_mgr not in ["zypper"] - name: Update index files package: name: zypper update_cache: true + timeout: 120 when: ansible_pkg_mgr in ["zypper"] ##############################################################################