Browse Source

Hold the docker-ce-cli (#6995)

This will make sure an upgrade doesn't upgrade the docker cli.
pull/6997/head
Sander Klein 4 years ago
committed by GitHub
parent
commit
8331c1f858
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. 5
      roles/container-engine/docker/tasks/main.yml

5
roles/container-engine/docker/tasks/main.yml

@ -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…
Cancel
Save