Browse Source

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

pull/8190/head
zhengtianbao 3 years ago
committed by GitHub
parent
commit
5f1456337b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. 4
      roles/kubernetes-apps/krew/tasks/krew.yml

4
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
Loading…
Cancel
Save