You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
771 B

  1. ---
  2. - name: Helm | Download helm
  3. include_tasks: "../../../download/tasks/download_file.yml"
  4. vars:
  5. download: "{{ download_defaults | combine(downloads.helm) }}"
  6. - name: Helm | Copy helm binary from download dir
  7. synchronize:
  8. src: "{{ local_release_dir }}/helm-{{ helm_version }}/linux-{{ image_arch }}/helm"
  9. dest: "{{ bin_dir }}/helm"
  10. compress: no
  11. perms: yes
  12. owner: no
  13. group: no
  14. delegate_to: "{{ inventory_hostname }}"
  15. - name: Helm | Get helm completion
  16. command: "{{ bin_dir }}/helm completion bash"
  17. changed_when: False
  18. register: helm_completion
  19. check_mode: False
  20. - name: Helm | Install helm completion
  21. copy:
  22. dest: /etc/bash_completion.d/helm.sh
  23. content: "{{ helm_completion.stdout }}"
  24. mode: 0755
  25. become: True