mirror of
https://github.com/luzifer-ansible/docker.git
synced 2024-11-08 13:50:10 +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
|
||||
apt_key:
|
||||
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
|
||||
apt:
|
||||
|
|
Loading…
Reference in a new issue