CRI-O: Install libseccomp2 from backports on Debian 10 (#7816)

* CRI-O: Install libseccomp2 from backports on Debian 10

libseccomp2 is a required dependency of cri-o-runc package

The one provided in Debian 10 repositories is outdated

* 7816: Remove useless when condition

As this condition is handled by block
This commit is contained in:
AnatomicJC
2021-07-23 16:07:16 +02:00
committed by GitHub
parent bfebcfa2c5
commit 627a06e30d
3 changed files with 30 additions and 0 deletions

View File

@@ -87,6 +87,13 @@
- not skip_downloads|default(false)
- download_run_once
- name: Add libseccomp2 package from Debian Backports to install
set_fact:
crio_packages: "{{ crio_debian_buster_backports_packages + crio_packages }}"
when:
- ansible_distribution == "Debian"
- ansible_distribution_version == "10"
- name: Install cri-o packages
package:
name: "{{ item }}"