From 8fad9d75fdc013ea71873a75216e916ee2f9db77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krawczyk?= <616047+kravietz@users.noreply.github.com> Date: Sat, 7 Aug 2021 11:47:32 +0100 Subject: [PATCH] Update cache on package install --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 8ca5b37..7ebd1c5 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -53,6 +53,7 @@ package: name: '{{ nft_pkg_list | list }}' state: '{{ nft_pkg_state }}' + update_cache: true register: pkg_install_result until: pkg_install_result is success when: nft_enabled|bool