This commit is contained in:
Jeffrey C. Ollie 2020-01-14 14:37:25 -06:00
parent 97447b5fe5
commit 89e2dc2c82

View file

@ -28,3 +28,18 @@
path: /usr/local/bin/helm path: /usr/local/bin/helm
src: /opt/helm/{{ helm_version }}/helm src: /opt/helm/{{ helm_version }}/helm
state: link state: link
- name: generate completions
command:
cmd: /opt/helm/{{ helm_version }}/helm completion bash
register: completion
- name: copy completions to filesystem
copy:
content: "{{ completion.stdout }}"
dest: /etc/bash_completion.d/helm
- name: delete archive
file:
path: /tmp/helm.tar.gz
state: absent