mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 14:22:56 +00:00
(cherry picked from commit 75413d0b08)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
4
changelogs/fragments/947-acme-retry.yml
Normal file
4
changelogs/fragments/947-acme-retry.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
bugfixes:
|
||||||
|
- "acme_* modules - also retry on HTTP responses 502 Bad Gateway and 504 Gateway Timeout. The latter is needed for ZeroSSL,
|
||||||
|
which seems to have a lot of 504s
|
||||||
|
(https://github.com/ansible-collections/community.crypto/issues/945, https://github.com/ansible-collections/community.crypto/pull/947)."
|
||||||
@@ -60,7 +60,7 @@ else:
|
|||||||
|
|
||||||
|
|
||||||
# -1 usually means connection problems
|
# -1 usually means connection problems
|
||||||
RETRY_STATUS_CODES = (-1, 408, 429, 503)
|
RETRY_STATUS_CODES = (-1, 408, 429, 502, 503, 504)
|
||||||
|
|
||||||
RETRY_COUNT = 10
|
RETRY_COUNT = 10
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user