Browse Source

fix broken ubuntu containerd engine (#5002)

pull/5021/head
okamototk 5 years ago
committed by Kubernetes Prow Robot
parent
commit
fbbfff3795
2 changed files with 4 additions and 1 deletions
  1. 2
      roles/container-engine/containerd/tasks/main.yml
  2. 3
      roles/container-engine/containerd/vars/ubuntu-amd64.yml

2
roles/container-engine/containerd/tasks/main.yml

@ -101,7 +101,7 @@
- name: Check if runc is installed
stat:
path: /usr/sbin/runc
path: "{{ runc_binary }}"
register: runc_stat
- name: Install runc package if necessary

3
roles/container-engine/containerd/vars/ubuntu-amd64.yml

@ -3,6 +3,7 @@
containerd_versioned_pkg:
'latest': "{{ containerd_package }}"
'1.2.4': "{{ containerd_package }}=1.2.4-1"
'1.2.6': "{{ containerd_package }}=1.2.6-3"
'stable': "{{ containerd_package }}=1.2.4-1"
'edge': "{{ containerd_package }}=1.2.4-1"
@ -25,3 +26,5 @@ containerd_repo_info:
deb {{ containerd_ubuntu_repo_base_url }}
{{ ansible_distribution_release|lower }}
{{ containerd_ubuntu_repo_component }}
runc_binary: /usr/bin/runc
Loading…
Cancel
Save