Hold the docker-ce-cli (#6995)

This will make sure an upgrade doesn't upgrade the docker cli.
This commit is contained in:
Sander Klein 2020-12-05 03:21:25 +01:00 committed by GitHub
parent f4a69d2827
commit 8331c1f858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,9 +207,12 @@
# This is required to ensure any apt upgrade will not break kubernetes # 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 - name: Tell Debian hosts not to change the docker version with apt upgrade
dpkg_selections: dpkg_selections:
name: docker-ce name: "{{ item }}"
selection: hold selection: hold
when: ansible_os_family in ["Debian"] when: ansible_os_family in ["Debian"]
with_items:
- docker-ce
- docker-ce-cli
- name: Ensure latest version of libseccomp installed # noqa 403 - name: Ensure latest version of libseccomp installed # noqa 403
package: package: