From d2f04660dcb1eea175cddc92aba6dc9d098c6107 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Wed, 11 Dec 2024 09:18:19 +0100 Subject: [PATCH] Fix key in old versions --- tasks/Debian.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/Debian.yaml b/tasks/Debian.yaml index fe4e9671..56435fc7 100644 --- a/tasks/Debian.yaml +++ b/tasks/Debian.yaml @@ -6,6 +6,10 @@ set_fact: kube_minor_version: "{{ kube_version.split('.')[0] }}.{{ kube_version.split('.')[1] }}" +- name: Set kube_key_version + set_fact: + kube_key_version: "{{ kube_minor_version }}" + # for some reason, the key for 1.27 or lower is does not work - name: Set kube_key_version set_fact: