mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
build
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user