Fix krew auto completion command not found at lower version (#8185)
This commit is contained in:
parent
6eeb4883af
commit
5f1456337b
1 changed files with 3 additions and 1 deletions
|
@ -25,9 +25,11 @@
|
||||||
changed_when: False
|
changed_when: False
|
||||||
register: krew_completion
|
register: krew_completion
|
||||||
check_mode: False
|
check_mode: False
|
||||||
|
ignore_errors: yes # noqa ignore-errors
|
||||||
|
|
||||||
- name: Krew | Install krew completion
|
- name: Krew | Install krew completion
|
||||||
copy:
|
copy:
|
||||||
dest: /etc/bash_completion.d/krew.sh
|
dest: /etc/bash_completion.d/krew.sh
|
||||||
content: "{{ krew_completion.stdout }}"
|
content: "{{ krew_completion.stdout }}"
|
||||||
become: True
|
become: True
|
||||||
|
when: krew_completion.rc == 0
|
||||||
|
|
Loading…
Reference in a new issue