Fix typo in Containerd configuration (#8206)

This commit is contained in:
Pasquale Toscano 2021-11-19 17:40:53 +01:00 committed by GitHub
parent f48ae18630
commit fe8c843cc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 11 deletions

View file

@ -13,7 +13,7 @@ containerd_runc_runtime:
engine: ""
root: ""
options:
systemCgroup: "true"
systemdCgroup: "{{ containerd_use_systemd_cgroup | ternary('true', 'false') }}"
containerd_additional_runtimes: []
# Example for Kata Containers as additional runtime:

View file

@ -1,6 +0,0 @@
---
- name: set kubelet_config_extra_args options when cgroupfs is used
set_fact:
containerd_runc_runtime: "{{ containerd_runc_runtime | combine({'options':{'systemCgroup':'false'}}) }}"
when: not containerd_use_systemd_cgroup

View file

@ -1,8 +1,4 @@
---
- import_tasks: facts.yml
tags:
- facts
- name: Fail containerd setup if distribution is not supported
fail:
msg: "{{ ansible_distribution }} is not supported by containerd."