diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml index 7b60851cc..96471f528 100644 --- a/roles/kubernetes/preinstall/tasks/main.yml +++ b/roles/kubernetes/preinstall/tasks/main.yml @@ -147,10 +147,8 @@ tags: bootstrap-os -- name: Install latest version of python-apt for Debian distribs +- name: Update package management cache (APT) apt: - name: python-apt - state: latest update_cache: yes cache_valid_time: 3600 when: ansible_os_family == "Debian"