mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-06 13:22:58 +00:00
Improve authz handling. (#998)
This commit is contained in:
@@ -982,7 +982,7 @@ class ACMECertificateClient:
|
||||
except Exception:
|
||||
# ignore errors
|
||||
pass
|
||||
if authz.status != "deactivated":
|
||||
if not authz.is_in_final_state(allow_valid=False):
|
||||
self.module.warn(
|
||||
warning=f"Could not deactivate authz object {authz.url}."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user