diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index d8ca5d9..5812ee9 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -16,8 +16,8 @@ signed_by: "{{ kubernetes_apt_repository }}/Release.key" register: kubernetes_repository -- name: 'Update Apt cache.' - ansible.builtin.apt: +- name: Update Apt cache. + apt: update_cache: true when: kubernetes_repository.changed