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 c8626a31..fdc0c3e5 100644 --- a/plugins/module_utils/_acme/acme.py +++ b/plugins/module_utils/_acme/acme.py @@ -66,7 +66,7 @@ if t.TYPE_CHECKING: # -1 usually means connection problems RETRY_STATUS_CODES = (-1, 408, 429, 502, 503, 504) -RETRY_COUNT = 10 +RETRY_COUNT = 20 def _decode_retry(