8f5c4dcd2e
* Install Kata Containers as additional container runtime * Create RuntimeClasses for Kata Containers * Updated Vagrant to optionally run without Docker as container manager * Updated Vagrant to optionally use Libvirt nested virtualization * Add Kata Containers documentation * Fix lint errors * Add kata_containers_enabled to kubespray-defaults * Fixed typo error * Fixed typo error
29 lines
629 B
YAML
29 lines
629 B
YAML
---
|
|
|
|
- name: Download artifacts
|
|
unarchive:
|
|
src: "{{ kata_containers_release_url }}"
|
|
dest: /
|
|
remote_src: true
|
|
|
|
- name: Create config directory
|
|
file:
|
|
path: "{{ kata_containers_config_dir }}"
|
|
state: directory
|
|
|
|
- name: Set configuration
|
|
template:
|
|
src: "{{ item }}.j2"
|
|
dest: "{{ kata_containers_config_dir }}/{{ item }}"
|
|
with_items:
|
|
- configuration-qemu.toml
|
|
|
|
- name: Set containerd bin
|
|
vars:
|
|
shim: "{{ item }}"
|
|
template:
|
|
dest: "{{ kata_containers_containerd_bin_dir }}/containerd-shim-kata-{{ item }}-v2"
|
|
src: containerd-shim-kata-v2.j2
|
|
mode: 0755
|
|
with_items:
|
|
- qemu
|