This commit is contained in:
2026-05-12 21:10:40 +02:00
parent 74c9390e89
commit bd584a1f16
+17 -3
View File
@@ -15,8 +15,8 @@
helm_env: helm_env:
PATH: /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin PATH: /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
HOME: /tmp/helm HOME: /home/jd
XDG_CONFIG_HOME: /tmp/helm/.config XDG_CONFIG_HOME: /home/jd/.config
KUBECONFIG: "{{ kubeconfig }}" KUBECONFIG: "{{ kubeconfig }}"
block: block:
@@ -30,6 +30,12 @@
dest: "/tmp/{{ helm_tar }}" dest: "/tmp/{{ helm_tar }}"
mode: '0644' mode: '0644'
- name: Create Helm config directory
file:
path: /home/jd/.config/helm
state: directory
mode: '0755'
- name: Extract Helm archive - name: Extract Helm archive
unarchive: unarchive:
src: "/tmp/{{ helm_tar }}" src: "/tmp/{{ helm_tar }}"
@@ -86,4 +92,12 @@
name: nfs-client name: nfs-client
defaultClass: true defaultClass: true
kubeconfig: "{{ kubeconfig }}" kubeconfig: "{{ kubeconfig }}"
environment: "{{ helm_env }}" environment: "{{ helm_env }}"
- name: Ensure correct ownership of Helm config
file:
path: /home/jd/.config
state: directory
owner: jd
group: jd