You've already forked Helm_Charts
fix: remove k3s from name vars
This commit is contained in:
@@ -3,4 +3,4 @@ helm_binary_dir: "/usr/local/bin"
|
|||||||
|
|
||||||
helm_force_update: false
|
helm_force_update: false
|
||||||
helm_version: "v3.13.1"
|
helm_version: "v3.13.1"
|
||||||
helm_url: "https://get.helm.sh/helm-{{ k3s_helm_version }}-linux-amd64.tar.gz"
|
helm_url: "https://get.helm.sh/helm-{{ helm_version }}-linux-amd64.tar.gz"
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Download helm
|
- name: Download helm
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ k3s_helm_url }}"
|
url: "{{ helm_url }}"
|
||||||
dest: "/tmp/helm-{{ k3s_helm_version }}.tar.gz"
|
dest: "/tmp/helm-{{ helm_version }}.tar.gz"
|
||||||
when: ansible_facts.architecture == "x86_64"
|
when: ansible_facts.architecture == "x86_64"
|
||||||
|
|
||||||
- name: Create a directory to unpack Helm
|
- name: Create a directory to unpack Helm
|
||||||
@@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
- name: Unpack Helm tarball
|
- name: Unpack Helm tarball
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "/tmp/helm-{{ k3s_helm_version }}.tar.gz"
|
src: "/tmp/helm-{{ helm_version }}.tar.gz"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
dest: "{{ helm_unpack_directory.path }}"
|
dest: "{{ helm_unpack_directory.path }}"
|
||||||
|
|
||||||
- name: Move Helm to the desired installation directory
|
- name: Move Helm to the desired installation directory
|
||||||
copy:
|
copy:
|
||||||
src: "{{ helm_unpack_directory.path }}/linux-amd64/helm"
|
src: "{{ helm_unpack_directory.path }}/linux-amd64/helm"
|
||||||
dest: "{{ k3s_binary_dir }}/helm"
|
dest: "{{ helm_binary_dir }}/helm"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
when: ansible_facts.architecture == "x86_64"
|
when: ansible_facts.architecture == "x86_64"
|
||||||
@@ -29,5 +29,5 @@
|
|||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
with_items:
|
with_items:
|
||||||
- "/tmp/helm-{{ k3s_helm_version }}.tar.gz"
|
- "/tmp/helm-{{ helm_version }}.tar.gz"
|
||||||
- "{{ helm_unpack_directory.path }}"
|
- "{{ helm_unpack_directory.path }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user