summaryrefslogtreecommitdiffstats
path: root/ansible/roles/helm
diff options
context:
space:
mode:
authorTomáš Levora <t.levora@partner.samsung.com>2019-06-14 10:54:39 +0200
committerTomáš Levora <t.levora@partner.samsung.com>2019-06-14 14:02:06 +0200
commitf6bd937571c8f88bcf506d11ef06243e7851f2cf (patch)
tree338f69b9ecd0d27dd201d386cdc8b595cf08a2f9 /ansible/roles/helm
parentf2f06700b7b9ad99c9c182fc01ee5cc0782ead78 (diff)
Add binaries preparation to installation steps
Adding binaries preparation into installation steps as rke binary need to be renamed and helm binary need to be unarchived. Removing those previously manual steps from BuilGuide Issue-ID: OOM-1925 Change-Id: I504320fb82e1c8f6db2f99c5dfd4518192eae895 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Diffstat (limited to 'ansible/roles/helm')
-rw-r--r--ansible/roles/helm/tasks/main.yml8
1 files changed, 6 insertions, 2 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