Skip to content

Commit

Permalink
add retries to certificate download task
Browse files Browse the repository at this point in the history
we had some timeouts here so I hope this helps a bit
  • Loading branch information
Christoph Sieber authored and Christoph Sieber committed Dec 3, 2024
1 parent 03f8844 commit 47a2efc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/acme/tasks/download_cert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
port: "{{ acme_cert_download_port | default('443') }}"
server_name: "{{ acme_cert_san_name | default(acme_domain.subject_alt_name[0]) }}"
register: certificate
retries: 10
delay: 30
until: certificate is not failed

- name: Write fetched certificate to file
ansible.builtin.copy:
Expand Down

0 comments on commit 47a2efc

Please sign in to comment.