---
crio_versioned_pkg:
  "1.24":
    - "cri-o=1.24*"
    - cri-o-runc
  "1.23":
    - "cri-o=1.23*"
    - cri-o-runc
  "1.22":
    - "cri-o=1.22*"
    - cri-o-runc

default_crio_packages: "{{ crio_versioned_pkg[crio_version] }}"

crio_packages: "{{ ubuntu_crio_packages | default(default_crio_packages) }}"

# The crio_runtimes variable defines a list of OCI compatible runtimes.
crio_runtimes:
  - name: runc
    path: /usr/sbin/runc
    type: oci
    root: /run/runc
