diff --git a/roles/container-engine/docker/tasks/main.yml b/roles/container-engine/docker/tasks/main.yml index 413acd6df80..b0ece93f013 100644 --- a/roles/container-engine/docker/tasks/main.yml +++ b/roles/container-engine/docker/tasks/main.yml @@ -92,7 +92,7 @@ when: ansible_pkg_mgr == 'apt' changed_when: false with_items: - - containerd + - "{{ containerd_package }}" - docker-ce - docker-ce-cli @@ -127,6 +127,7 @@ when: ansible_pkg_mgr == 'apt' changed_when: false with_items: + - "{{ containerd_package }}" - docker-ce - docker-ce-cli