An Ansible Role that installs CRI-O on Linux.
Inspired by @geerlingguy's ansible-role-containerd
- Debian 10
- Ubuntu 18.04
- Ubuntu 20.04
- CentOS 7
- CentOS 8
None.
Available variables are listed below, along with default values (see defaults/main.yml
):
crio_package: cri-o
crio_package_state: present
Package name and state controls.
crio_service_state: started
crio_service_enabled: true
To set the storage driver for CRI-O, set the following variable:
crio_storage_driver: zfs
To change the container runtime, set the following variable (Currently supported runtimes: runc, crun):
crio_runtime: crun
Service controls. You can install CRI-O but not have it running or enabled on boot by changing these defaults.
kubic_apt_ignore_key_error: true
Disable errors from apt-key when installing the repository key
None.
- hosts: all
roles:
- rpthms.crio
MIT / BSD