fix broken ubuntu containerd engine (#5002)

This commit is contained in:
okamototk 2019-07-31 03:58:11 +09:00 committed by Kubernetes Prow Robot
parent fb9103acd3
commit fbbfff3795
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -3,6 +3,7 @@
containerd_versioned_pkg: containerd_versioned_pkg:
'latest': "{{ containerd_package }}" 'latest': "{{ containerd_package }}"
'1.2.4': "{{ containerd_package }}=1.2.4-1" '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" 'stable': "{{ containerd_package }}=1.2.4-1"
'edge': "{{ 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 }} deb {{ containerd_ubuntu_repo_base_url }}
{{ ansible_distribution_release|lower }} {{ ansible_distribution_release|lower }}
{{ containerd_ubuntu_repo_component }} {{ containerd_ubuntu_repo_component }}
runc_binary: /usr/bin/runc