Fix typo in Containerd configuration (#8206)

pull/8209/head
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."