diff --git a/roles/container-engine/containerd/tasks/main.yml b/roles/container-engine/containerd/tasks/main.yml index f148b6959aeec8f3cbc590b4eccc6a4bc7295159..a649daae1312364af6ecb4a75add812753d15619 100644 --- a/roles/container-engine/containerd/tasks/main.yml +++ b/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 diff --git a/roles/container-engine/containerd/vars/ubuntu-amd64.yml b/roles/container-engine/containerd/vars/ubuntu-amd64.yml index 1614eeea9eb5f79957c007f802c31e4fe306fad9..3b49c2f6792326b8e9e38dab790ee68a5d2734c8 100644 --- a/roles/container-engine/containerd/vars/ubuntu-amd64.yml +++ b/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