Merge pull request #104 from cloud-neutral/codex/fix-docker-gpg-key-installation-error

Add retries when downloading Docker GPG key
This commit is contained in:
cloudneutral 2025-12-14 15:49:38 +08:00 committed by GitHub
commit 4dc54f6644
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: