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

13 lines
289 B
YAML
Raw Normal View History

2020-12-05 17:43:25 +00:00
---
- 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