mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-01 00:38:49 -03:30
Ensure libseccomp is installed before starting containerd on CentOS 8 (#6922)
* Ensure libseccomp is installed before starting containerd on CentOS 8 * Simplify libseccomp install on CentOS 8 - Uses `package` module - Replaces complex version check with 'state: latest'. The version must be > 2.3 when using with cri-o. - Removes unnecessary `not is_ostree` condition as CentOS 8 does not use ostree
This commit is contained in:
@@ -211,6 +211,15 @@
|
||||
selection: hold
|
||||
when: ansible_os_family in ["Debian"]
|
||||
|
||||
- name: Ensure latest version of libseccomp installed # noqa 403
|
||||
package:
|
||||
name: libseccomp
|
||||
state: latest
|
||||
when:
|
||||
- ansible_distribution == "CentOS"
|
||||
- ansible_distribution_major_version == "8"
|
||||
notify: restart docker
|
||||
|
||||
- name: ensure docker started, remove our config if docker start failed and try again
|
||||
block:
|
||||
- name: ensure service is started if docker packages are already present
|
||||
|
||||
Reference in New Issue
Block a user