Fix krew auto completion command not found at lower version (#8185)

This commit is contained in:
zhengtianbao 2021-11-12 19:04:46 -06:00 committed by GitHub
parent 6eeb4883af
commit 5f1456337b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
when: krew_completion.rc == 0