diff --git a/roles/edgenet-kubernetes/defaults/main.yml b/roles/edgenet-kubernetes/defaults/main.yml index 517f0b2..f3bc40a 100644 --- a/roles/edgenet-kubernetes/defaults/main.yml +++ b/roles/edgenet-kubernetes/defaults/main.yml @@ -11,7 +11,7 @@ containerd_apt_repository: "deb [arch={{ containerd_apt_arch }}] https://downloa containerd_apt_gpg_key: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg" kubernetes_apt_release_channel: main -kubernetes_apt_repository: "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}" +kubernetes_apt_repository: "deb [signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.asc] http://apt.kubernetes.io/ kubernetes-xenial {{ kubernetes_apt_release_channel }}" kubernetes_apt_gpg_key: https://packages.cloud.google.com/apt/doc/apt-key.gpg # RedHat diff --git a/roles/edgenet-kubernetes/tasks/kube-debian.yml b/roles/edgenet-kubernetes/tasks/kube-debian.yml index 88b8c83..5db970a 100644 --- a/roles/edgenet-kubernetes/tasks/kube-debian.yml +++ b/roles/edgenet-kubernetes/tasks/kube-debian.yml @@ -13,7 +13,7 @@ - name: Ensure Kubernetes APT GPG key is present get_url: url: "{{ kubernetes_apt_gpg_key }}" - dest: /usr/share/keyrings/kubernetes-archive-keyring.gpg + dest: /etc/apt/keyrings/kubernetes-archive-keyring.asc - name: Ensure Kubernetes APT repository is present apt_repository: