mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
Fix tests on Ubuntu 22.04 (#419)
* Try to fix tests on Ubuntu 22.04. * Let Ansible handle the apt repo install.
This commit is contained in:
parent
58211153db
commit
f6d4cad46e
@ -14,7 +14,9 @@
|
|||||||
shell: curl -fsSL https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg >key && apt-key add key
|
shell: curl -fsSL https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg >key && apt-key add key
|
||||||
|
|
||||||
- name: Add Docker repo
|
- 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:
|
- block:
|
||||||
- name: Prevent service restart
|
- name: Prevent service restart
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
docker_prereq_packages:
|
||||||
|
- ca-certificates
|
||||||
|
- curl
|
||||||
Loading…
Reference in New Issue
Block a user