finish
This commit is contained in:
parent
97447b5fe5
commit
89e2dc2c82
1 changed files with 15 additions and 0 deletions
|
@ -28,3 +28,18 @@
|
|||
path: /usr/local/bin/helm
|
||||
src: /opt/helm/{{ helm_version }}/helm
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue