kubespray/roles/container-engine/crictl/handlers/main.yml

13 lines
291 B
YAML

---
- name: Get crictl completion
command: "{{ bin_dir }}/crictl completion"
changed_when: false
register: cri_completion
check_mode: false
- name: Install crictl completion
copy:
dest: /etc/bash_completion.d/crictl
content: "{{ cri_completion.stdout }}"
mode: "0644"