mirror of
https://github.com/luzifer-ansible/docker.git
synced 2024-11-09 22:30:01 +00:00
Fix: apt-key download is failing
Keyserver response times are often too high. Implement ansible best practice to define "url" and "id".
This commit is contained in:
parent
af6baaf35b
commit
0d75e63b36
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
||||||
- name: Install apt-key
|
- name: Install apt-key
|
||||||
apt_key:
|
apt_key:
|
||||||
id: 0EBFCD88
|
id: 0EBFCD88
|
||||||
keyserver: keyserver.ubuntu.com
|
url: 'https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg'
|
||||||
|
keyring: /etc/apt/trusted.gpg.d/docker.gpg
|
||||||
|
|
||||||
- name: Ensure https transport to be available
|
- name: Ensure https transport to be available
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in a new issue