Skip to content

Commit

Permalink
Hold the docker-ce-cli (#6995)
Browse files Browse the repository at this point in the history
This will make sure an upgrade doesn't upgrade the docker cli.
  • Loading branch information
roedie authored Dec 5, 2020
1 parent f4a69d2 commit 8331c1f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roles/container-engine/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,12 @@
# This is required to ensure any apt upgrade will not break kubernetes
- name: Tell Debian hosts not to change the docker version with apt upgrade
dpkg_selections:
name: docker-ce
name: "{{ item }}"
selection: hold
when: ansible_os_family in ["Debian"]
with_items:
- docker-ce
- docker-ce-cli

- name: Ensure latest version of libseccomp installed # noqa 403
package:
Expand Down

0 comments on commit 8331c1f

Please sign in to comment.