feat: added install kubectl and helm
This commit is contained in:
15
tasks/installation_helm.yml
Normal file
15
tasks/installation_helm.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Download helm binary
|
||||
get_url:
|
||||
url: "{{ k3s_helm_url }}"
|
||||
dest: "/tmp/helm-{{ k3s_helm_version }}.tar.gz"
|
||||
when: ansible_facts.architecture == "x86_64"
|
||||
|
||||
- name: extract binary
|
||||
unarchive:
|
||||
src: "/tmp/helm-{{ k3s_helm_version }}.tar.gz"
|
||||
dest: "{{ k3s_binary_dir }}/helm"
|
||||
owner: root
|
||||
group: "root"
|
||||
mode: 0750
|
||||
remote_src: true
|
||||
Reference in New Issue
Block a user