Fix tests on Ubuntu 22.04 (#419) (#420)

* Try to fix tests on Ubuntu 22.04.

* Let Ansible handle the apt repo install.

(cherry picked from commit f6d4cad46e)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-07-08 07:23:15 +02:00 committed by GitHub
parent 53db30f21b
commit ff242fab8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,9 @@
shell: curl -fsSL https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg >key && apt-key add key
- name: Add Docker repo
shell: add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable"
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable
state: present
- block:
- name: Prevent service restart

View File

@ -0,0 +1,4 @@
---
docker_prereq_packages:
- ca-certificates
- curl