zuul-jobs/roles/install-kubernetes/tasks/crio.yaml
James E. Blair 03e42f874b install-kubernetes: add support for cri-o runtime
This adds optional support for using the cri-o rather than the
(still default) docker runtime.

Change-Id: I0f7cbb758a21cb022ceac24654183138bebf83bf
2019-10-17 11:27:31 -07:00

29 lines
587 B
YAML

- name: Add project atomic PPA
apt_repository:
repo: ppa:projectatomic/ppa
become: true
- name: Install packages
package:
name:
- cri-o-1.15
- containernetworking-plugins
- podman
- cri-tools
state: present
become: true
- name: Fix conmon symlink
file:
src: /usr/bin/conmon
dest: /usr/libexec/crio/conmon
owner: root
group: root
state: link
become: true
- name: Set crio cgroup driver
ini_file:
path: /etc/crio/crio.conf
section: crio.runtime
option: cgroup_manager
value: '"cgroupfs"'
become: true