This commit is contained in:
2026-05-27 10:13:07 +02:00
parent 885c5d4a03
commit e89206e3d5
+17
View File
@@ -1,5 +1,22 @@
- name: Install Kubernetes on Ubuntu 24
become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}"
vars:
helm_version: "v3.15.4"
helm_tar: "helm-{{ helm_version }}-linux-amd64.tar.gz"
helm_url: "https://get.helm.sh/{{ helm_tar }}"
helm_bin: /usr/local/bin/helm
kubeconfig: /home/jd/.kube/config
nfs_server: "192.168.77.106"
nfs_path: "/qda_1"
helm_env:
PATH: /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
HOME: /home/jd
XDG_CONFIG_HOME: /home/jd/.config
KUBECONFIG: "{{ kubeconfig }}"
block:
- name: Create apt proxy file
ansible.builtin.copy: