Add crun support (#6864)

Signed-off-by: Victor Morales <v.morales@samsung.com>
This commit is contained in:
Victor Morales
2020-12-01 11:00:50 -08:00
committed by GitHub
parent da5077fa5f
commit 4f7a760a94
9 changed files with 81 additions and 1 deletions

View File

@@ -45,12 +45,18 @@
- import_tasks: "crictl.yml"
- name: Build a list of crio runtimes
- name: Build a list of crio runtimes with Katacontainers runtimes
set_fact:
crio_runtimes: "{{ crio_runtimes + kata_runtimes }}"
when:
- kata_containers_enabled
- name: Build a list of crio runtimes with crun runtime
set_fact:
crio_runtimes: "{{ crio_runtimes + [crun_runtime] }}"
when:
- crun_enabled
- name: Make sure needed folders exist in the system
with_items:
- /etc/crio