Skip to content

Commit

Permalink
fix broken ubuntu containerd engine (#5002)
Browse files Browse the repository at this point in the history
  • Loading branch information
okamototk authored and k8s-ci-robot committed Jul 30, 2019
1 parent fb9103a commit fbbfff3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/container-engine/containerd/tasks/main.yml
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions roles/container-engine/containerd/vars/ubuntu-amd64.yml
Expand Up @@ -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"

Expand All @@ -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

0 comments on commit fbbfff3

Please sign in to comment.