diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index ee73486..7c77ae5 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -13,14 +13,14 @@ mode: 0755 - name: Get Kubernetes apt key. - ansible.builtin.get_url: + ansible.builtin.get_url: url: "https://pkgs.k8s.io/core:/{{ kubernetes_apt_release_channel }}:/v{{ kubernetes_version }}/deb/Release.key" dest: "{{ kubernetes_apt_keyring_file }}" mode: '0644' force: true - name: Be sure deprecated Kubernetes repository is absent. - file: + file: path: "/etc/apt/sources.list.d/apt_kubernetes_io.list" state: absent