From ea2f58f2825a148810365b6b27eedcab0342ccb0 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Sirot Date: Thu, 21 Jan 2016 16:48:41 +0100 Subject: [PATCH] Set update_cache to yes when installing the required dependencies --- roles/kubernetes/preinstall/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml index 72efa116a..f4ca440a9 100644 --- a/roles/kubernetes/preinstall/tasks/main.yml +++ b/roles/kubernetes/preinstall/tasks/main.yml @@ -45,6 +45,7 @@ action: module: "{{ ansible_pkg_mgr }}" name: "{{ item }}" + update_cache: yes state: latest with_items: "{{required_pkgs | union(common_required_pkgs)}}"