Add retries when downloading Docker GPG key
This commit is contained in:
parent
ff26c3be10
commit
7b45701dbd
@ -43,6 +43,10 @@
|
|||||||
url: https://download.docker.com/linux/ubuntu/gpg
|
url: https://download.docker.com/linux/ubuntu/gpg
|
||||||
dest: /etc/apt/keyrings/docker.asc
|
dest: /etc/apt/keyrings/docker.asc
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
register: docker_gpg_download
|
||||||
|
until: docker_gpg_download is succeeded
|
||||||
|
retries: 5
|
||||||
|
delay: 3
|
||||||
|
|
||||||
- name: Add Docker repository
|
- name: Add Docker repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user