mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Return changed=True if a new certificate was written (#41445)
This commit is contained in:
@@ -779,6 +779,7 @@ class AcmeCertificate(Certificate):
|
||||
check_rc=True)[1]
|
||||
with open(self.path, 'wb') as certfile:
|
||||
certfile.write(to_bytes(crt))
|
||||
self.changed = True
|
||||
except OSError as exc:
|
||||
raise CertificateError(exc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user