f80fd24a55
When running ansible-lint directly, we can see a lot of warning message like risky-file-permissions File permissions unset or incorrect This fixes the warning messages.
28 lines
771 B
YAML
28 lines
771 B
YAML
---
|
|
- name: Helm | Download helm
|
|
include_tasks: "../../../download/tasks/download_file.yml"
|
|
vars:
|
|
download: "{{ download_defaults | combine(downloads.helm) }}"
|
|
|
|
- name: Helm | Copy helm binary from download dir
|
|
synchronize:
|
|
src: "{{ local_release_dir }}/helm-{{ helm_version }}/linux-{{ image_arch }}/helm"
|
|
dest: "{{ bin_dir }}/helm"
|
|
compress: no
|
|
perms: yes
|
|
owner: no
|
|
group: no
|
|
delegate_to: "{{ inventory_hostname }}"
|
|
|
|
- name: Helm | Get helm completion
|
|
command: "{{ bin_dir }}/helm completion bash"
|
|
changed_when: False
|
|
register: helm_completion
|
|
check_mode: False
|
|
|
|
- name: Helm | Install helm completion
|
|
copy:
|
|
dest: /etc/bash_completion.d/helm.sh
|
|
content: "{{ helm_completion.stdout }}"
|
|
mode: 0755
|
|
become: True
|