change docker apt repo
This commit is contained in:
parent
cc4192dab0
commit
aaa02715b0
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Reference in a new issue