summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/helm/tasks/main.yml8
-rw-r--r--ansible/roles/rke/defaults/main.yml2
2 files changed, 7 insertions, 3 deletions
diff --git a/ansible/roles/helm/tasks/main.yml b/ansible/roles/helm/tasks/main.yml
index 2521ad28..c1b47103 100644
--- a/ansible/roles/helm/tasks/main.yml
+++ b/ansible/roles/helm/tasks/main.yml
@@ -1,7 +1,11 @@
---
- name: Install Helm
- copy:
- src: "{{ app_data_path }}/downloads/helm"
+ unarchive:
+ src: "{{ app_data_path }}/downloads/helm-{{ helm_version }}-linux-amd64.tar.gz"
dest: "{{ helm_bin_dir }}"
+ extra_opts:
+ - --strip=1
+ - --wildcards
+ - '*/helm'
remote_src: true
mode: 0755
diff --git a/ansible/roles/rke/defaults/main.yml b/ansible/roles/rke/defaults/main.yml
index 88216857..2f160fc2 100644
--- a/ansible/roles/rke/defaults/main.yml
+++ b/ansible/roles/rke/defaults/main.yml
@@ -1,5 +1,5 @@
---
-rke_binary: rke
+rke_binary: rke_linux-amd64
rke_username: rke
rke_bin_dir: /usr/local/bin
kube_config_dir: "{{ ansible_env.HOME }}/.kube"