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

13 lines
291 B
YAML
Raw Normal View History

2020-12-06 01:43:25 +08:00
---
- name: Get crictl completion
command: "{{ bin_dir }}/crictl completion"
changed_when: false
2020-12-06 01:43:25 +08:00
register: cri_completion
check_mode: false
- name: Install crictl completion
copy:
dest: /etc/bash_completion.d/crictl
content: "{{ cri_completion.stdout }}"
mode: "0644"