mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-13 07:54:42 -03:30
Manage containerd.io package with docker CRI. (#6218)
* Manage containerd.io package with docker CRI. * Refactor common containerd stuff to separate role * Fix check mode and unnecessary shell.
This commit is contained in:
@@ -22,12 +22,13 @@
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
|
||||
- name: Get crictl completion
|
||||
shell: "{{ bin_dir }}/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 }}"
|
||||
become: True
|
||||
become: True
|
||||
|
||||
Reference in New Issue
Block a user