Hold the docker-ce-cli (#6995)
This will make sure an upgrade doesn't upgrade the docker cli.
This commit is contained in:
parent
f4a69d2827
commit
8331c1f858
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue