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
|
||||
- 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:
|
||||
|
|
Reference in a new issue