mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-09 10:27:39 -02:30
Move cri_socket var to kubespray-defaults (#5149)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
27ec548b88
commit
eb40ac163f
@@ -7,21 +7,6 @@
|
||||
- download
|
||||
- upload
|
||||
|
||||
- name: Use cri-o for cri connection
|
||||
set_fact:
|
||||
cri_socket: /var/run/crio/crio.sock
|
||||
when: container_manager == 'crio'
|
||||
|
||||
- name: Use containerd for cri connection
|
||||
set_fact:
|
||||
cri_socket: /var/run/containerd/containerd.sock
|
||||
when: container_manager == 'containerd'
|
||||
|
||||
- name: Use docker for cri connection
|
||||
set_fact:
|
||||
cri_socket: /var/run/dockershim.sock
|
||||
when: container_manager == 'docker'
|
||||
|
||||
- include_tasks: ../../container-engine/containerd/tasks/crictl.yml
|
||||
when:
|
||||
- not skip_downloads|default(false)
|
||||
|
||||
Reference in New Issue
Block a user