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 - python3-pip
- name: Add APT key - name: Add APT key
apt_key: apt_key:
url: https://download.docker.com/linux/ubuntu/gpg url: https://download.docker.com/linux/debian/gpg
keyring: /etc/apt/keyrings/docker.gpg keyring: /etc/apt/trusted.gpg.d/docker.gpg
- name: Add repository - name: Add repository
apt_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 - name: Install Docker
apt: apt:
pkg: pkg: