03e42f874b
This adds optional support for using the cri-o rather than the (still default) docker runtime. Change-Id: I0f7cbb758a21cb022ceac24654183138bebf83bf
29 lines
587 B
YAML
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
|