summaryrefslogtreecommitdiff
path: root/roles/apt-repo/kubernetes/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apt-repo/kubernetes/tasks/main.yml')
-rw-r--r--roles/apt-repo/kubernetes/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apt-repo/kubernetes/tasks/main.yml b/roles/apt-repo/kubernetes/tasks/main.yml
index e2f0444b..9198cb10 100644
--- a/roles/apt-repo/kubernetes/tasks/main.yml
+++ b/roles/apt-repo/kubernetes/tasks/main.yml
@@ -8,7 +8,7 @@
- name: add repository entry
copy:
content: |
- deb [signed-by=/etc/apt/keyrings/kubernetes.gpg] https://pkgs.k8s.io/core:/stable:/v{{ ([0, 1] | map('extract', kubernetes_version.split('.'))) | join('.') }}/deb/ /
+ deb [signed-by=/etc/apt/keyrings/kubernetes.gpg] {{ kubernetes_apt_repo_baseurl }}/v{{ ([0, 1] | map('extract', kubernetes_version.split('.'))) | join('.') }}/deb/ /
dest: /etc/apt/sources.list.d/kubernetes.list
register: apt_repo_kubernetes_sources