Skip to content

Commit

Permalink
use distro variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Quirmbach committed Oct 3, 2024
1 parent 6a49304 commit 524b006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/k8s-master/tasks/install-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- name: Add Kubernetes apt repository
apt_repository:
repo: "deb http://apt.kubernetes.io/ kubernetes-jammy main" # Here needs to be the current ubuntu version: lsb_release -cs
repo: "deb http://apt.kubernetes.io/ kubernetes-{{ ansible_distribution_release }} main"
state: present

- name: Install Kubernetes tools (kubeadm, kubelet, kubectl)
Expand Down

0 comments on commit 524b006

Please sign in to comment.