Add retries when downloading Docker GPG key

This commit is contained in:
cloudneutral 2025-12-14 15:39:13 +08:00
parent ff26c3be10
commit 7b45701dbd

View File

@ -43,6 +43,10 @@
url: https://download.docker.com/linux/ubuntu/gpg
dest: /etc/apt/keyrings/docker.asc
mode: '0644'
register: docker_gpg_download
until: docker_gpg_download is succeeded
retries: 5
delay: 3
- name: Add Docker repository
ansible.builtin.apt_repository: