kubespray/roles/kubernetes-apps/helm/tasks/main.yml

26 lines
698 B
YAML
Raw Normal View History

2016-09-08 02:02:06 +08:00
---
- name: Helm | Download helm
include_tasks: "../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.helm) }}"
2021-04-11 15:37:59 +08:00
- name: Helm | Copy helm binary from download dir
copy:
src: "{{ local_release_dir }}/helm-{{ helm_version }}/linux-{{ image_arch }}/helm"
dest: "{{ bin_dir }}/helm"
mode: 0755
remote_src: true
2021-04-11 15:37:59 +08:00
- name: Helm | Get helm completion
command: "{{ bin_dir }}/helm completion bash"
changed_when: False
register: helm_completion
check_mode: False
2021-04-11 15:37:59 +08:00
- name: Helm | Install helm completion
copy:
dest: /etc/bash_completion.d/helm.sh
content: "{{ helm_completion.stdout }}"
mode: 0755
become: True