Unpin docker versions
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-08-30 09:10:27 +02:00
parent ddbcf836ab
commit 2ee5dd308d

View File

@ -37,30 +37,28 @@
repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ releasename.stdout }} stable
state: present
# Pinning versions due to odd DNS issue in 20.x
- name: Pin Docker engine to specific version
copy:
dest: "{{ item.dest }}"
content: "{{ item.content }}"
with_items:
- dest: /etc/apt/preferences.d/docker-ce
content: |
Package: docker-ce
Pin: version 5:19.03.13~3-0~ubuntu-focal
Pin-Priority: 1001
- dest: /etc/apt/preferences.d/docker-ce-cli
content: |
Package: docker-ce-cli
Pin: version 5:19.03.13~3-0~ubuntu-focal
Pin-Priority: 1001
# # Pinning versions due to odd DNS issue in 20.x
# - name: Pin Docker engine to specific version
# copy:
# dest: "{{ item.dest }}"
# content: "{{ item.content }}"
# with_items:
# - dest: /etc/apt/preferences.d/docker-ce
# content: |
# Package: docker-ce
# Pin: version 5:19.03.13~3-0~ubuntu-{{ releasename.stdout }}
# Pin-Priority: 1001
# - dest: /etc/apt/preferences.d/docker-ce-cli
# content: |
# Package: docker-ce-cli
# Pin: version 5:19.03.13~3-0~ubuntu-{{ releasename.stdout }}
# Pin-Priority: 1001
- name: Install Docker engine
apt:
update_cache: yes
allow_unauthenticated: yes
name:
# - docker-ce=5:19.03.13~3-0~ubuntu-focal
# - docker-ce-cli=5:19.03.13~3-0~ubuntu-focal
- docker-ce
- docker-ce-cli
- containerd.io