noheat: Upgrades, refactor, deploy Devstack
[integration.git] / deployment / noheat / cluster-rke / ansible / roles / setup_helm / tasks / helm.yml
1 ---
2 - name: Download helm
3   get_url:
4     url: "https://get.helm.sh/helm-v{{ helm_version }}-linux-amd64.tar.gz"
5     dest: "/tmp"
6
7 - name: Unarchive helm
8   unarchive:
9     src: "/tmp/helm-v{{ helm_version }}-linux-amd64.tar.gz"
10     dest: "/tmp/"
11     remote_src: yes
12
13 - name: Copy helm binary to $PATH
14   become: yes
15   copy:
16     src: "/tmp/linux-amd64/helm"
17     dest: "/usr/local/bin/"
18     remote_src: yes
19     mode: '0555'
20
21 - name: Install Helm Push plugin
22   kubernetes.core.helm_plugin:
23     plugin_path: "https://github.com/chartmuseum/helm-push.git"
24     plugin_version: "{{ helm_cm_push_version }}"
25     state: present
26
27 - name: Install Helm OOM Deploy plugin
28   kubernetes.core.helm_plugin:
29     plugin_path: "{{ oom_dir }}/kubernetes/helm/plugins/deploy"
30     state: present
31
32 - name: Install Helm OOM Undeploy plugin
33   kubernetes.core.helm_plugin:
34     plugin_path: "{{ oom_dir }}/kubernetes/helm/plugins/undeploy"
35     state: present