change docker apt repo

This commit is contained in:
Pim Kunis 2023-05-16 09:50:22 +02:00
parent cc4192dab0
commit aaa02715b0

View file

@ -8,11 +8,11 @@
- python3-pip
- name: Add APT key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
keyring: /etc/apt/keyrings/docker.gpg
url: https://download.docker.com/linux/debian/gpg
keyring: /etc/apt/trusted.gpg.d/docker.gpg
- name: Add repository
apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/{{ docker_repository }} {{ ansible_distribution_release }} stable"
repo: "deb [signed-by=/etc/apt/trusted.gpg.d/docker.gpg] https://download.docker.com/linux/{{ docker_repository }} {{ ansible_distribution_release }} stable"
- name: Install Docker
apt:
pkg: