diff --git a/changelogs/fragments/949-acme-retry.yml b/changelogs/fragments/949-acme-retry.yml new file mode 100644 index 00000000..a41645ea --- /dev/null +++ b/changelogs/fragments/949-acme-retry.yml @@ -0,0 +1,3 @@ +bugfixes: + - "acme_* modules - increase the maximum amount of retries from 10 to 20 to accomodate ZeroSSL's buggy implementation + (https://github.com/ansible-collections/community.crypto/pull/949)." diff --git a/plugins/module_utils/acme/acme.py b/plugins/module_utils/acme/acme.py index 5c70b5ed..79971596 100644 --- a/plugins/module_utils/acme/acme.py +++ b/plugins/module_utils/acme/acme.py @@ -62,7 +62,7 @@ else: # -1 usually means connection problems RETRY_STATUS_CODES = (-1, 408, 429, 502, 503, 504) -RETRY_COUNT = 10 +RETRY_COUNT = 20 def _decode_retry(module, response, info, retry_count):