Browse Source
Fix krew auto completion command not found at lower version (#8185)
pull/8190/head
zhengtianbao
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
roles/kubernetes-apps/krew/tasks/krew.yml
|
|
@ -25,9 +25,11 @@ |
|
|
|
changed_when: False |
|
|
|
register: krew_completion |
|
|
|
check_mode: False |
|
|
|
ignore_errors: yes # noqa ignore-errors |
|
|
|
|
|
|
|
- name: Krew | Install krew completion |
|
|
|
copy: |
|
|
|
dest: /etc/bash_completion.d/krew.sh |
|
|
|
content: "{{ krew_completion.stdout }}" |
|
|
|
become: True |
|
|
|
become: True |
|
|
|
when: krew_completion.rc == 0 |